WebBaseEvent.ApplicationInformation Egenskap

Definition

Hämtar ett WebApplicationInformation objekt som innehåller information om det aktuella programmet som övervakas.

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

Egenskapsvärde

Ett WebApplicationInformation objekt som innehåller information om programmet som övervakas.

Exempel

Följande kodexempel visar hur du hämtar programinformationen.

// 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

Gäller för

Se även