Freigeben über


SessionEndingEventArgs.Reason-Eigenschaft

Ruft die Ursache für das Beenden der Sitzung ab.

Namespace: Microsoft.Win32
Assembly: System (in system.dll)

Syntax

'Declaration
Public ReadOnly Property Reason As SessionEndReasons
'Usage
Dim instance As SessionEndingEventArgs
Dim value As SessionEndReasons

value = instance.Reason
public SessionEndReasons Reason { get; }
public:
property SessionEndReasons Reason {
    SessionEndReasons get ();
}
/** @property */
public SessionEndReasons get_Reason ()
public function get Reason () : SessionEndReasons

Eigenschaftenwert

Einer der SessionEndReasons-Werte, der angibt, wie die Sitzung beendet wird.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, 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, 1.1, 1.0

Siehe auch

Referenz

SessionEndingEventArgs-Klasse
SessionEndingEventArgs-Member
Microsoft.Win32-Namespace