IDkmIISResolver160.ResolveUrlToAppPool Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Internal API to determine the IIS App pool for a given URL.
public:
System::String ^ ResolveUrlToAppPool(Microsoft::VisualStudio::Debugger::DefaultPort::DkmTransportConnection ^ connection, System::String ^ url, System::String ^ dnsNames, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Debugger::DkmProcessorArchitecture % architecture, [Runtime::InteropServices::Out] System::String ^ % exceptionText);
public string ResolveUrlToAppPool (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection connection, string url, string dnsNames, out Microsoft.VisualStudio.Debugger.DkmProcessorArchitecture architecture, out string exceptionText);
public string? ResolveUrlToAppPool (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection connection, string url, string dnsNames, out Microsoft.VisualStudio.Debugger.DkmProcessorArchitecture architecture, out string? exceptionText);
abstract member ResolveUrlToAppPool : Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection * string * string * DkmProcessorArchitecture * string -> string
Public Function ResolveUrlToAppPool (connection As DkmTransportConnection, url As String, dnsNames As String, ByRef architecture As DkmProcessorArchitecture, ByRef exceptionText As String) As String
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.
- architecture
- DkmProcessorArchitecture
[Out] The architecture of the IIS application pool.
- exceptionText
- String
[Out,Optional] Exception text for any caught exception. This may be present in the S_FALSE case.
Returns
[Out,Optional] The name of the IIS application pool. This will be null on errors that have exception text.