Edit

Share via


ReasonSessionEnding Enum

Definition

Specifies the reason for which the user's session is ending. Used by the ReasonSessionEnding property.

public enum class ReasonSessionEnding
public enum ReasonSessionEnding
type ReasonSessionEnding = 
Public Enum ReasonSessionEnding
Inheritance
ReasonSessionEnding

Fields

Name Value Description
Logoff 0

The session is ending because the user is logging off.

Shutdown 1

The session is ending because the user is shutting down Windows.

Applies to

See also