WebAuditEvent.RequestInformation Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Get the information associated with the Web request.

Namespace:   System.Web.Management
Assembly:  System.Web (in System.Web.dll)

public WebRequestInformation RequestInformation { get; }

Property Value

Type: System.Web.Management.WebRequestInformation

A WebRequestInformation that contains the information associated with the Web request.

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

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;
}

.NET Framework
Available since 2.0
Return to top
Show: