EndpointIdentity.Initialize 方法

定义

初始化 EndpointIdentity

重载

Initialize(Claim)

使用指定的声明初始化 EndpointIdentity

Initialize(Claim, IEqualityComparer<Claim>)

使用指定的声明和接口初始化 EndpointIdentity 并对相等性进行比较。

Initialize(Claim)

使用指定的声明初始化 EndpointIdentity

protected:
 void Initialize(System::IdentityModel::Claims::Claim ^ identityClaim);
protected:
 void Initialize(System::IdentityModel::Claims::Claim ^ claim);
protected void Initialize (System.IdentityModel.Claims.Claim identityClaim);
protected void Initialize (System.IdentityModel.Claims.Claim claim);
member this.Initialize : System.IdentityModel.Claims.Claim -> unit
member this.Initialize : System.IdentityModel.Claims.Claim -> unit
Protected Sub Initialize (identityClaim As Claim)
Protected Sub Initialize (claim As Claim)

参数

identityClaimclaim
Claim

用于初始化 ClaimEndpointIdentity

注解

由派生自 Initialize) 的所有类的构造函数调用此方法。

适用于

Initialize(Claim, IEqualityComparer<Claim>)

使用指定的声明和接口初始化 EndpointIdentity 并对相等性进行比较。

protected:
 void Initialize(System::IdentityModel::Claims::Claim ^ identityClaim, System::Collections::Generic::IEqualityComparer<System::IdentityModel::Claims::Claim ^> ^ claimComparer);
protected:
 void Initialize(System::IdentityModel::Claims::Claim ^ claim, System::Collections::Generic::IEqualityComparer<System::IdentityModel::Claims::Claim ^> ^ comparer);
protected void Initialize (System.IdentityModel.Claims.Claim identityClaim, System.Collections.Generic.IEqualityComparer<System.IdentityModel.Claims.Claim> claimComparer);
protected void Initialize (System.IdentityModel.Claims.Claim claim, System.Collections.Generic.IEqualityComparer<System.IdentityModel.Claims.Claim> comparer);
member this.Initialize : System.IdentityModel.Claims.Claim * System.Collections.Generic.IEqualityComparer<System.IdentityModel.Claims.Claim> -> unit
member this.Initialize : System.IdentityModel.Claims.Claim * System.Collections.Generic.IEqualityComparer<System.IdentityModel.Claims.Claim> -> unit
Protected Sub Initialize (identityClaim As Claim, claimComparer As IEqualityComparer(Of Claim))
Protected Sub Initialize (claim As Claim, comparer As IEqualityComparer(Of Claim))

参数

identityClaimclaim
Claim

用于初始化 ClaimEndpointIdentity

claimComparercomparer
IEqualityComparer<Claim>

用于比较声明的 IEqualityComparer

适用于