SessionSecurityTokenCreatedEventArgs 类

定义

SessionSecurityTokenCreated 事件和 SessionSecurityTokenCreated 事件提供数据。Provides data for the SessionSecurityTokenCreated event and for the SessionSecurityTokenCreated event.

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

注解

默认情况下:By default:

您可以使用SessionToken属性来修改或替换标记。You can use the SessionToken property to modify or replace the token. 您可以设置WriteSessionCookie以指定是否应写入 (或重新写入) 会话 cookie。You can set the WriteSessionCookie to specify whether the session cookie should be written (or re-written).

构造函数

SessionSecurityTokenCreatedEventArgs(SessionSecurityToken)

使用指定的会话初始化 SessionSecurityTokenCreatedEventArgs 类的新实例。Initializes a new instance of the SessionSecurityTokenCreatedEventArgs class by using the specified session security token.

属性

SessionToken

获取或设置已创建的会话安全令牌。Gets or sets the session security token that was created.

WriteSessionCookie

获取或设置一个值,该值指示是否应在响应中编写 Cookie。Gets or sets a value that indicates whether a cookie should be written in the response.

方法

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)

适用于

另请参阅