IPortAllocator Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |