共用方式為


SecurityToken.MatchesKeyIdentifierClause(SecurityKeyIdentifierClause) 方法

定義

傳回值,這個值會指出這個執行個體的金鑰識別碼是否能夠解析為指定的金鑰識別碼。

public:
 virtual bool MatchesKeyIdentifierClause(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);
public virtual bool MatchesKeyIdentifierClause (System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);
abstract member MatchesKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
override this.MatchesKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
Public Overridable Function MatchesKeyIdentifierClause (keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean

參數

keyIdentifierClause
SecurityKeyIdentifierClause

要與這個執行個體做比較的 SecurityKeyIdentifierClause

傳回

如果 truekeyIdentifierClause,並且擁有與 SecurityKeyIdentifierClause 屬性相同的唯一識別碼,則為 Id,否則為 false

備註

默認實作支援類型的金鑰標識子子句 LocalIdKeyIdentifierClause

適用於

另請參閱