Edit

Share via


SecurityTokenHandler.WriteKeyIdentifierClause Method

Definition

When overridden in a derived class, serializes the specified key identifier clause to XML. The key identifier clause must be of the type supported by the derived class.

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

Parameters

writer
XmlWriter

The XML writer.

securityKeyIdentifierClause
SecurityKeyIdentifierClause

The key identifier clause to serialize.

Remarks

By default this method throws a NotImplementedException exception.

Override this method to provide the logic to serialize a key identifier clause to XML. If you override this method, you should also override the CanWriteKeyIdentifierClause method.

Applies to