Share via


Port suppliers

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

In the debugger architecture, a port supplier:

  • Is contained by a server and provides ports on request to that server.

  • Can add and remove ports from the containing server.

  • Can enumerate all the ports it has supplied to the server.

  • Is represented by an IDebugPortSupplier2 interface, which is registered with Visual Studio through the registry. This interface can be obtained by calling GetPortSupplier.

    Visual Studio provides a default port supplier and a default port. If a custom port needs to be implemented, a custom port supplier also needs to be implemented to supply those custom ports.

See also