SessionEndedEventArgs(SessionEndReasons) 构造函数

定义

初始化 SessionEndedEventArgs 类的新实例。Initializes a new instance of the SessionEndedEventArgs class.

public:
 SessionEndedEventArgs(Microsoft::Win32::SessionEndReasons reason);
public SessionEndedEventArgs (Microsoft.Win32.SessionEndReasons reason);
new Microsoft.Win32.SessionEndedEventArgs : Microsoft.Win32.SessionEndReasons -> Microsoft.Win32.SessionEndedEventArgs
Public Sub New (reason As SessionEndReasons)

参数

reason
SessionEndReasons

指示会话结束方式的 SessionEndReasons 值之一。One of the SessionEndReasons values indicating how the session ended.

适用于

另请参阅