Edit

Share via


Saml2SecurityTokenHandler.WriteKeyIdentifierClause Method

Definition

Serializes a Saml2AssertionKeyIdentifierClause to the specified XML writer.

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

Parameters

writer
XmlWriter

The XmlWriter to serialize the key identifier clause.

securityKeyIdentifierClause
SecurityKeyIdentifierClause

A SecurityKeyIdentifierClause that represents the key identifier clause to be serialized.

Exceptions

data is null.

-or-

securityKeyIdentifierClause is null.

Applies to