description | title | ms.date | ms.topic | f1_keywords | helpviewer_keywords | author | ms.author | manager | ms.subservice | ||
---|---|---|---|---|---|---|---|---|---|---|---|
This interface provides several methods for accessing a port's server and notification facilities. |
IDebugDefaultPort2 |
11/04/2016 |
reference |
|
|
maiak |
maiak |
mijacobs |
debug-diagnostics |
This interface provides several methods for accessing a port's server and notification facilities.
IDebugDefaultPort2 : IDebugPort2
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.
An argument to methods on the IDebugProgramProvider2 interface supplies this interface. Calling QueryInterface on an IDebugPort2 interface can also obtain this interface.
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. |
The name "IDebugDefaultPort2
" is a bit of a misnomer, as it does not represent a default port. It could be called "IDebugPort3."
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll