Share via


IPortAllocator Interface

Definition

Provides port allocation functionality for resources.

public interface IPortAllocator
type IPortAllocator = interface
Public Interface IPortAllocator
Derived

Methods

Name Description
AddUsedPort(Int32)

Marks a port as used to prevent it from being allocated.

AllocatePort()

Allocates a port that is not currently in use.

Applies to