編輯

共用方式為


WebAuditEvent.RequestInformation Property

Definition

Get the information associated with the Web request.

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 that contains the information associated with the Web request.

Examples

The following code example shows how to obtain request information through the WebRequestInformation property.

// Obtains the current thread information.
public WebRequestInformation GetRequestInformation()
{
    // Obtain the Web request information.
    // No customization is allowed here.
    return RequestInformation;
}
' Obtains the current thread information.
Public Function GetRequestInformation() As WebRequestInformation 
    ' Obtain the Web request information.
    ' No customization is allowed here.
    Return RequestInformation

End Function 'GetRequestInformation

Remarks

Use the information provided by the RequestInformation property to help in the discovery of the causes of a malfunction.

Applies to

See also