SecurityTokenSerializer.WriteKeyIdentifierClause 方法

定义

使用指定的 XML 编写器编写指定的密钥标识符子句。

public:
 void WriteKeyIdentifierClause(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);
public void WriteKeyIdentifierClause (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);
member this.WriteKeyIdentifierClause : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> unit
Public Sub WriteKeyIdentifierClause (writer As XmlWriter, keyIdentifierClause As SecurityKeyIdentifierClause)

参数

writer
XmlWriter

编写密钥标识符子句的 XmlWriter

keyIdentifierClause
SecurityKeyIdentifierClause

表示要编写的密钥标识符子句的 SecurityKeyIdentifierClause

例外

keyIdentifierClausenull

writernull

注解

SecurityTokenSerializer 类派生的类必须重写 WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause) 方法。 WriteKeyIdentifierClause(XmlWriter, SecurityKeyIdentifierClause) 方法调用 WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause) 方法。

适用于