EndpointIdentity.Initialize 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
用于初始化 Claim 的 EndpointIdentity。
注解
由派生自 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
用于初始化 Claim 的 EndpointIdentity。
- claimComparercomparer
- IEqualityComparer<Claim>
用于比较声明的 IEqualityComparer。