X509SecurityTokenHandler.WriteKeyIdentifierClause Method (XmlWriter, SecurityKeyIdentifierClause)

.NET Framework (current version)
 

Serializes the specified key identifier clause to the XML writer.

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

public override void WriteKeyIdentifierClause(
	XmlWriter writer,
	SecurityKeyIdentifierClause securityKeyIdentifierClause
)

Parameters

writer
Type: System.Xml.XmlWriter

The XML writer to which the key identifier clause should be serialized.

securityKeyIdentifierClause
Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClause

The key identifier clause to serialize.

Exception Condition
ArgumentNullException

securityKeyIdentifierClause is null.

-or-

writer is null.

InvalidOperationException

The WriteXmlDSigDefinedClauseTypes property is false.

.NET Framework
Available since 4.5
Return to top
Show: