แก้ไข

แชร์ผ่าน


WebErrorEvent.RequestInformation Property

Definition

Gets the application request information.

public:
 property System::Web::Management::WebRequestInformation ^ RequestInformation { System::Web::Management::WebRequestInformation ^ get(); };
public System.Web.Management.WebRequestInformation RequestInformation { get; }
member this.RequestInformation : System.Web.Management.WebRequestInformation
Public ReadOnly Property RequestInformation As WebRequestInformation

Property Value

A WebRequestInformation object that contains information about the current request.

Examples

The following code example shows how to obtain the RequestInformation value.

// Obtains the current request information.
public string GetRequestInfo()
{
    string reqInfo = GetRequestInfo();
    return reqInfo;
}
' Obtains the current request information.
Public Function GetRequestInfo() As String
   Dim reqInfo As String = GetRequestInfo()
   Return reqInfo
End Function 'GetRequestInfo

Applies to