.NET Framework-Klassenbibliothek
HostingEnvironment.ShutdownReason-Eigenschaft

Hinweis: Diese Eigenschaft ist neu in .NET Framework, Version 2.0.

Gibt einen Enumerationswert zurück, der angibt, warum die Anwendung beendet wurde.

Namespace: System.Web.Hosting
Assembly: System.Web (in system.web.dll)

Syntax

Visual Basic (Deklaration)
Public Shared ReadOnly Property ShutdownReason As ApplicationShutdownReason
Visual Basic (Verwendung)
Dim value As ApplicationShutdownReason

value = HostingEnvironment.ShutdownReason
C#
public static ApplicationShutdownReason ShutdownReason { get; }
C++
public:
static property ApplicationShutdownReason ShutdownReason {
    ApplicationShutdownReason get ();
}
J#
/** @property */
public static ApplicationShutdownReason get_ShutdownReason ()
JScript
public static function get ShutdownReason () : ApplicationShutdownReason

Eigenschaftenwert

Einer der ApplicationShutdownReason-Werte.
Plattformen

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0
Siehe auch

Page view tracker