共用方式為


IVsDebugRemoteDiscoveryUI.SelectRemoteInstanceViaDlg Method

Definition

Shows the Remote Debugger Discovery dialog, returning the selected computer.

public:
 int SelectRemoteInstanceViaDlg(System::String ^ currentTransportQualifier, Guid currentPortSupplier, System::UInt32 flags, [Runtime::InteropServices::Out] System::String ^ % transportQualifier, [Runtime::InteropServices::Out] Guid % guidPortSupplier);
public int SelectRemoteInstanceViaDlg (string currentTransportQualifier, Guid currentPortSupplier, uint flags, out string transportQualifier, out Guid guidPortSupplier);
abstract member SelectRemoteInstanceViaDlg : string * Guid * uint32 * string * Guid -> int
Public Function SelectRemoteInstanceViaDlg (currentTransportQualifier As String, currentPortSupplier As Guid, flags As UInteger, ByRef transportQualifier As String, ByRef guidPortSupplier As Guid) As Integer

Parameters

currentTransportQualifier
String

The current transport qualifier.

currentPortSupplier
Guid

The current port supplier.

flags
UInt32

Flags specified in the DEBUG_REMOTE_DISCOVERY_FLAGS enumeration.

transportQualifier
String

String to pass to the debugger to connect to the selected computer. This is also the string that shows up in the project properties.

guidPortSupplier
Guid

GUID indicating the transport (port supplier) to use when connecting. Currently this is either Guid.Empty to indicate Windows authentication, or guidNoAuthPortSupplier for no-authentication.

Returns

Applies to