SecurityTokenSerializer.WriteKeyIdentifierClauseCore Method (XmlWriter, SecurityKeyIdentifierClause)

 

Writes the specified key identifier clause using the specified XML writer. Called by the base class.

Namespace:   System.IdentityModel.Selectors
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected abstract void WriteKeyIdentifierClauseCore(
	XmlWriter writer,
	SecurityKeyIdentifierClause keyIdentifierClause
)

Parameters

writer
Type: System.Xml.XmlWriter

A XmlWriter to write the key identifier clause.

keyIdentifierClause
Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClause

A SecurityKeyIdentifierClause that represents the key identifier clause to write.

Exception Condition
ArgumentNullException

keyIdentifierClause is null.

-or-

writer is null.

Classes that derive from the SecurityTokenSerializer class must override the WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause) method. The WriteKeyIdentifierClause(XmlWriter, SecurityKeyIdentifierClause) method calls the WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause) method.

.NET Framework
Available since 3.0
Return to top
Show: