IDebugPortRequest2

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

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

Syntax

IDebugPortRequest2 : IUnknown

Notes for Implementers

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

Notes for Callers

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.

Methods in Vtable Order

The following table shows the methods of IDebugPortRequest2.

Method Description
GetPortName Gets the name of the port to create.

Remarks

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

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also