DefaultAuthenticationEventArgs 类

定义

提供 DefaultAuthentication_OnAuthenticate 事件的数据。 此类不能被继承。

public ref class DefaultAuthenticationEventArgs sealed : EventArgs
public sealed class DefaultAuthenticationEventArgs : EventArgs
type DefaultAuthenticationEventArgs = class
    inherit EventArgs
Public NotInheritable Class DefaultAuthenticationEventArgs
Inherits EventArgs
继承
DefaultAuthenticationEventArgs

注解

DefaultAuthenticationEventArgs 类用于向 DefaultAuthentication_OnAuthenticate 事件提供事件值,并允许指定当前请求的自定义Windows标识。

DefaultAuthenticationModule对象使用当前DefaultAuthenticationEventArgs构造对象HttpContext,并将其传递给DefaultAuthentication_OnAuthenticate事件。

构造函数

名称 说明
DefaultAuthenticationEventArgs(HttpContext)

初始化 DefaultAuthenticationEventArgs 类的新实例。

属性

名称 说明
Context

HttpContext获取当前 HTTP 请求的对象。

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅