Partager via


IDebugCoreServer2

This interface is used to represent and obtain information from a server on a machine on the network.

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 IDebugPortEvents2::Event.

A debug engine can obtain this interface indirectly through a call to IDebugDefaultPort2::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

IDebugCoreServer2::GetMachineInfo

Gets the name and attributes of a machine.

IDebugCoreServer2::GetMachineName

Gets the name of a machine.

IDebugCoreServer2::GetPortSupplier

Gets a port supplier that exists on a machine.

IDebugCoreServer2::GetPort

Gets a port that already exists on a machine.

IDebugCoreServer2::EnumPorts

Creates an enumerator for all the ports on a machine.

IDebugCoreServer2::EnumPortSuppliers

Creates an enumerator for all the port suppliers on a machine.

IDebugCoreServer2::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

See Also

Reference

IDebugPort2

IDebugPortEvents2::Event

IDebugDefaultPort2::GetServer

IDebugCoreServer3