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。