ApplicationInformation Property

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
Available since 2.0
Return to top
Show:
© 2016 Microsoft