IEnumDebugPorts2
This interface enumerates the ports of a machine or port supplier.
IEnumDebugPorts2 : IUnknown
Notes for Implementers
A custom port supplier implements this interface to represent a list of ports created by the supplier. Visual Studio implements this interface in support of its own port supplier.
Notes for Callers
Call IDebugPortSupplier2::EnumPorts to obtain this interface representing a list of ports created by the port supplier. Call IDebugPortSupplier3::EnumPersistedPorts to obtain this interface representing a list of ports that were saved to disk.
Methods in Vtable Order
The following table shows the methods of IEnumDebugPorts2.
Method |
Description |
---|---|
Retrieves a specified number of ports in an enumeration sequence. |
|
Skips a specified number of ports in an enumeration sequence. |
|
Resets an enumeration sequence to the beginning. |
|
Creates an enumerator that contains the same enumeration state as the current enumerator. |
|
Gets the number of ports in an enumerator. |
Remarks
Visual Studio uses this interface to help populate a list of ports used for attaching to processes.
A debug engine typically does not use this interface.
Requirements
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll