IDebugCoreServer2
Note
This article applies to Visual Studio 2015. 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 is used to represent and obtain information from a server on a machine on the network.
Syntax
IDebugCoreServer2 : IUknown
Notes for Implementers
Visual Studio implements this interface to represent a server. Each instance of Visual Studio creates an instance of this interface.
Notes for Callers
A custom port supplier receives this interface in a call to Event.
A debug engine can obtain this interface indirectly through a call to GetServer (which returns IDebugCoreServer3, an interface that is derived from IDebugCoreServer2
).
Methods in Vtable Order
The following table shows the methods of IDebugCoreServer2
.
Method | Description |
---|---|
GetMachineInfo | Gets the name and attributes of a machine. |
GetMachineName | Gets the name of a machine. |
GetPortSupplier | Gets a port supplier that exists on a machine. |
GetPort | Gets a port that already exists on a machine. |
EnumPorts | Creates an enumerator for all the ports on a machine. |
EnumPortSuppliers | Creates an enumerator for all the port suppliers on a machine. |
GetMachineUtilities_V7 | Gets the machine utilities for a machine. |
Remarks
This interface is also used by Visual Studio to browse processes running on machines on the network.
Requirements
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll