WebBaseEvent.ApplicationInformation Eigenschap

Definitie

Hiermee haalt u een WebApplicationInformation object op dat informatie bevat over de huidige toepassing die wordt bewaakt.

public:
 static property System::Web::Management::WebApplicationInformation ^ ApplicationInformation { System::Web::Management::WebApplicationInformation ^ get(); };
public static System.Web.Management.WebApplicationInformation ApplicationInformation { get; }
static member ApplicationInformation : System.Web.Management.WebApplicationInformation
Public Shared ReadOnly Property ApplicationInformation As WebApplicationInformation

Waarde van eigenschap

Een WebApplicationInformation object met informatie over de toepassing die wordt bewaakt.

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u de toepassingsgegevens kunt ophalen.

// Gets the current application information.
public WebApplicationInformation GetEventAppInfo()
{
    // Get the event message.
    WebApplicationInformation appImfo = 
        ApplicationInformation;
    return appImfo;
}
' Gets the current application information.
Public Function GetEventAppInfo() As WebApplicationInformation
    ' Get the event message.
    Dim appImfo As WebApplicationInformation = _
    ApplicationInformation
    Return appImfo

End Function 'GetEventAppInfo

Van toepassing op

Zie ook