SamlAssertionKeyIdentifierClause.Matches 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定指定的密钥标识符是否与当前实例相同。
重载
| Matches(SecurityKeyIdentifierClause) | 确定指定的密钥标识符是否与当前实例相同。 | 
| Matches(String) | 确定指定的 SAML 断言标识符是否与当前实例相同。 | 
| Matches(String, SecurityKeyIdentifierClause) | 
Matches(SecurityKeyIdentifierClause)
确定指定的密钥标识符是否与当前实例相同。
public:
 override bool Matches(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);public override bool Matches (System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);abstract member Matches : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
override this.Matches : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> booloverride this.Matches : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> boolPublic Overrides Function Matches (keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean参数
- keyIdentifierClause
- SecurityKeyIdentifierClause
要进行比较的 SecurityKeyIdentifierClause。
返回
如果指定的密钥标识符与当前实例相同,则为 true;否则为 false。
注解
当下列任一条件为 Matches 时,true 重载会返回 true 值:
- AssertionId 参数的 - keyIdentifierClause属性与当前实例的 AssertionId 属性具有相同值。
- keyIdentifierClause参数与此实例是同一实例。
适用于
Matches(String)
确定指定的 SAML 断言标识符是否与当前实例相同。
public:
 bool Matches(System::String ^ assertionId);public bool Matches (string assertionId);override this.Matches : string -> boolPublic Function Matches (assertionId As String) As Boolean参数
- assertionId
- String
要进行比较的 SAML 断言标识符。
返回
如果 assertionId 与当前实例的 AssertionId 属性具有相同值,则为 true;否则为 false。
注解
比较是区分大小写的。
适用于
Matches(String, SecurityKeyIdentifierClause)
public:
 static bool Matches(System::String ^ assertionId, System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);public static bool Matches (string assertionId, System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);static member Matches : string * System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> boolPublic Shared Function Matches (assertionId As String, keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean参数
- assertionId
- String
- keyIdentifierClause
- SecurityKeyIdentifierClause