The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at IDebugCoreServer3.

This interface gives access to information about the server the process is running in.

IDebugCoreServer3 : IDebugCoreServer2  

Visual Studio implements this interface.

Use QueryInterface to obtain this interface from an IDebugCoreServer2 interface. A call to GetServer can also return this interface. This interface is used most often by a custom port supplier to launch programs on a server (either local or remote).

In addition to the methods on the IDebugCoreServer2 interface, this interface implements the following methods:

GetServerNameRetrieves the name of the server.
GetServerFriendlyNameRetrieves a friendly version of the server name
EnableAutoAttachTells specific debug engines to automatically attach to processes when those processes start.
DiagnoseWebDebuggingErrorRetrieves a specific error code when automatic attach fails.
CreateInstanceInServerCreates an instance of a debug engine on the server.
QueryIsLocalRetrieves a flag indicating whether the server is on the same machine as the caller.
GetConnectionProtocolRetrieves a value indicating the protocol being used to communicate with the server.
DisableAutoAttachDisables all auto-attach settings for all debug engines this server knows about.

A custom port supplier receives the IDebugCoreServer2 interface on a call to Event. The IDebugCoreServer3 interface can be obtained from that interface.

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll