IDebugDefaultPort2

This interface provides several methods for accessing a port's server and notification facilities.

Syntax

IDebugDefaultPort2 : IDebugPort2

Notes for Implementers

Visual Studio implements this interface to represent the debug port for accessing programs. A custom port supplier can also implement this interface if it handles remote debugging.

Notes for Callers

An argument to methods on the IDebugProgramProvider2 interface supplies this interface. Calling QueryInterface on an IDebugPort2 interface can also obtain this interface.

Methods in Vtable order

In addition to the methods defined in IDebugPort2, this interface implements the following methods:

Method Description
GetPortNotify Gets the port notification interface from this port.
GetServer Gets the interface to the server hosting this port.
QueryIsLocal Determines whether this port is running on the local machine.

Remarks

The name "IDebugDefaultPort2" is a bit of a misnomer, as it does not represent a default port. It could be called "IDebugPort3."

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also