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利用電流HttpContext構造一個DefaultAuthenticationEventArgs物體,並將其傳遞給DefaultAuthentication_OnAuthenticate事件。

建構函式

名稱 Description
DefaultAuthenticationEventArgs(HttpContext)

初始化 DefaultAuthenticationEventArgs 類別的新執行個體。

屬性

名稱 Description
Context

取得 HttpContext 目前 HTTP 請求的物件。

方法

名稱 Description
Equals(Object)

判斷指定的 物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於

另請參閱