Edytuj

Udostępnij za pośrednictwem


SecurityContextKeyIdentifierClause.Matches Method

Definition

Compares a specified SecurityKeyIdentifierClause to the current instance of the SecurityContextKeyIdentifierClause class.

Overloads

Matches(SecurityKeyIdentifierClause)

Compares a specified SecurityKeyIdentifierClause to the current instance of the SecurityContextKeyIdentifierClause class.

Matches(UniqueId, UniqueId)

Compares a specified SecurityKeyIdentifierClause to the current instance of the SecurityContextKeyIdentifierClause class with the specified context identifier and generation.

Matches(SecurityKeyIdentifierClause)

Source:
SecurityContextKeyIdentifierClause.cs
Source:
SecurityContextKeyIdentifierClause.cs

Compares a specified SecurityKeyIdentifierClause to the current instance of the SecurityContextKeyIdentifierClause class.

public:
 override bool Matches(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);
public override bool Matches (System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);
override this.Matches : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
Public Overrides Function Matches (keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean

Parameters

keyIdentifierClause
SecurityKeyIdentifierClause

The SecurityKeyIdentifierClause to be compared.

Returns

true if the two instances are equal; otherwise, false.

Applies to

Matches(UniqueId, UniqueId)

Source:
SecurityContextKeyIdentifierClause.cs
Source:
SecurityContextKeyIdentifierClause.cs

Compares a specified SecurityKeyIdentifierClause to the current instance of the SecurityContextKeyIdentifierClause class with the specified context identifier and generation.

public:
 bool Matches(System::Xml::UniqueId ^ contextId, System::Xml::UniqueId ^ generation);
public bool Matches (System.Xml.UniqueId contextId, System.Xml.UniqueId generation);
override this.Matches : System.Xml.UniqueId * System.Xml.UniqueId -> bool
Public Function Matches (contextId As UniqueId, generation As UniqueId) As Boolean

Parameters

contextId
UniqueId

The context ID part of the identifier clause.

generation
UniqueId

The generation part of the identifier clause.

Returns

true if the two instances are equal; otherwise, false.

Applies to