SessionEndedEventArgs 类

定义

SessionEnded 事件提供数据。Provides data for the SessionEnded event.

public ref class SessionEndedEventArgs : EventArgs
public class SessionEndedEventArgs : EventArgs
type SessionEndedEventArgs = class
    inherit EventArgs
Public Class SessionEndedEventArgs
Inherits EventArgs
继承
SessionEndedEventArgs

注解

当用户注销或关闭系统时, 将引发事件。SessionEndedA SessionEnded event is raised when the user logs off or shuts down the system.

构造函数

SessionEndedEventArgs(SessionEndReasons)

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

属性

Reason

获取指示会话结束方式的标识符。Gets an identifier that indicates how the session ended.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅