SecurityContextKeyIdentifierClause.Matches Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares a specified SecurityKeyIdentifierClause to the current instance of the SecurityContextKeyIdentifierClause class.
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. |
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
.NET Framework 4.8.1 en andere versies
Product | Versies |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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
.NET Framework 4.8.1 en andere versies
Product | Versies |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET-feedback
.NET is een open source project. Selecteer een koppeling om feedback te geven: