We recommend using Visual Studio 2017



The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IDebugPortRequest2.

This interface describes a port. This description is used to add the port to a port supplier.

IDebugPortRequest2 : IUnknown  

Visual Studio typically implements this interface in the process of getting a debug port from a port supplier.

This interface is passed into AddPort to create a debug port. A call to GetPortRequest returns this interface, representing the request used to create the port in the first place.

The following table shows the methods of IDebugPortRequest2.

GetPortNameGets the name of the port to create.

A debug engine typically does not interact with a port supplier and will have no use for this interface.

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

Core Interfaces