SecurityTokenSerializer.WriteKeyIdentifierCore Method (XmlWriter, SecurityKeyIdentifier)

 

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

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

protected abstract void WriteKeyIdentifierCore(
	XmlWriter writer,
	SecurityKeyIdentifier keyIdentifier
)

Parameters

writer
Type: System.Xml.XmlWriter

A XmlWriter to write the key identifier.

keyIdentifier
Type: System.IdentityModel.Tokens.SecurityKeyIdentifier

A SecurityKeyIdentifier that represents the key identifier to write.

Exception Condition
ArgumentNullException

keyIdentifier is null.

-or-

writer is null.

Classes that derive from the SecurityTokenSerializer class must override the WriteKeyIdentifierCore(XmlWriter, SecurityKeyIdentifier) method. The WriteKeyIdentifier(XmlWriter, SecurityKeyIdentifier) method calls the WriteKeyIdentifierCore(XmlWriter, SecurityKeyIdentifier) method.

.NET Framework
Available since 3.0
Return to top
Show: