編輯

共用方式為


EndpointIdentity.Initialize Method

Definition

Initializes an EndpointIdentity.

Overloads

Initialize(Claim)

Initializes an EndpointIdentity with the specified claim.

Initialize(Claim, IEqualityComparer<Claim>)

Initializes an EndpointIdentity with the specified claim and an interface and compares equality.

Initialize(Claim)

Source:
EndpointIdentity.cs
Source:
EndpointIdentity.cs

Initializes an EndpointIdentity with the specified claim.

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

Parameters

identityClaim
Claim

The Claim used to initialize the EndpointIdentity.

Remarks

This method is called by the constructors of all the classes derived from Initialize.

Applies to

Initialize(Claim, IEqualityComparer<Claim>)

Source:
EndpointIdentity.cs
Source:
EndpointIdentity.cs

Initializes an EndpointIdentity with the specified claim and an interface and compares equality.

protected:
 void Initialize(System::IdentityModel::Claims::Claim ^ identityClaim, System::Collections::Generic::IEqualityComparer<System::IdentityModel::Claims::Claim ^> ^ claimComparer);
protected void Initialize (System.IdentityModel.Claims.Claim identityClaim, System.Collections.Generic.IEqualityComparer<System.IdentityModel.Claims.Claim> claimComparer);
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))

Parameters

identityClaim
Claim

The Claim used to initialize the EndpointIdentity.

claimComparer
IEqualityComparer<Claim>

The IEqualityComparer used to compare claims.

Applies to