Export (0) Print
Expand All

WebBaseEvent.ApplicationInformation Property

Gets a WebApplicationInformation object that contains information about the current application being monitored.

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

public static WebApplicationInformation ApplicationInformation { get; }

Property Value

Type: System.Web.Management.WebApplicationInformation
A WebApplicationInformation object that contains information about the application being monitored.

The following code example shows how to get the application information.

// Gets the current application information. 
public WebApplicationInformation GetEventAppInfo()
{
    // Get the event message.
    WebApplicationInformation appImfo = 
        ApplicationInformation;
    return appImfo;
}

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft