Compartilhar via


IDebugPortRequest2

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

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 IDebugPortSupplier2::AddPort to create a debug port. A call to IDebugPort2::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

IDebugPortRequest2::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

Reference

IDebugPortSupplier2::AddPort

IDebugPort2::GetPortRequest

Concepts

Core Interfaces