Compartilhar via


IDebugCoreServer3

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

IDebugCoreServer3 : IDebugCoreServer2

Notes for Implementers

Visual Studio implements this interface.

Notes for Callers

Use QueryInterface to obtain this interface from an IDebugCoreServer2 interface. A call to IDebugDefaultPort2::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).

Methods in Vtable Order

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

Method

Description

IDebugCoreServer3::GetServerName

Retrieves the name of the server.

IDebugCoreServer3::GetServerFriendlyName

Retrieves a friendly version of the server name

IDebugCoreServer3::EnableAutoAttach

Tells specific debug engines to automatically attach to processes when those processes start.

IDebugCoreServer3::DiagnoseWebDebuggingError

Retrieves a specific error code when automatic attach fails.

IDebugCoreServer3::CreateInstanceInServer

Creates an instance of a debug engine on the server.

IDebugCoreServer3::QueryIsLocal

Retrieves a flag indicating whether the server is on the same machine as the caller.

IDebugCoreServer3::GetConnectionProtocol

Retrieves a value indicating the protocol being used to communicate with the server.

IDebugCoreServer3::DisableAutoAttach

Disables all auto-attach settings for all debug engines this server knows about.

Remarks

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

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugCoreServer2

IDebugDefaultPort2::GetServer