Aracılığıyla paylaş


WebRequestInformation.RequestUrl Özellik

Tanım

İsteğin mantıksal yolunu alır.

public:
 property System::String ^ RequestUrl { System::String ^ get(); };
public string RequestUrl { get; }
member this.RequestUrl : string
Public ReadOnly Property RequestUrl As String

Özellik Değeri

İsteğin mantıksal yolu.

Açıklamalar

Aşağıdaki kod örneği, Web isteği mantıksal yolunun nasıl alınacaklarını gösterir.

// Get the request URL.
public string GetRequestUrl()
{
    // Get the request URL.
    return (string.Format(
        "Request URL: {0}",
        RequestInformation.RequestUrl));
}
' Get the request URL.
Public Function GetRequestUrl() As String
   ' Get the request URL.
     Return String.Format("Request URL: {0}", _
     RequestInformation.RequestUrl)
End Function 'GetRequestUrl

Şunlara uygulanır