Udostępnij za pośrednictwem


IDkmIISResolver.ResolveUrlToProcessIds Method

Definition

Internal API to determine the IIS processes which the debugger should automatically attach to.

public:
 cli::array <int> ^ ResolveUrlToProcessIds(Microsoft::VisualStudio::Debugger::DefaultPort::DkmTransportConnection ^ connection, System::String ^ url, System::String ^ dnsNames, [Runtime::InteropServices::Out] System::String ^ % exceptionText);
public int[] ResolveUrlToProcessIds (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection connection, string url, string dnsNames, out string exceptionText);
public int[]? ResolveUrlToProcessIds (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection connection, string url, string dnsNames, out string? exceptionText);
abstract member ResolveUrlToProcessIds : Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection * string * string * string -> int[]
Public Function ResolveUrlToProcessIds (connection As DkmTransportConnection, url As String, dnsNames As String, ByRef exceptionText As String) As Integer()

Parameters

connection
DkmTransportConnection

[In] This represents a connection between the monitor and the IDE. It can either be a local connection if the monitor is running in the same process as the IDE, or it can be a remote connection. In the monitor process, there is only one connection.

url
String

[In] URL that the debug verb was sent to.

dnsNames
String

[In] Semi-colon delimitated string of addresses that URL's host name resolves to. These are only IPv4 addresses because IIS only supports filtering on IPv4 addresses. This resolution is always done on the VS computer to match the request from IE.

exceptionText
String

[Out,Optional] Exception text for any caught exception. This may be present in the S_FALSE case.

Returns

Int32[]

[Out] IIS worker processes to attach to.

Applies to