SamlStatement.WriteXml Method (XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Writes the SAML statement into the specified XML serializer.

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

public abstract void WriteXml(
	XmlDictionaryWriter writer,
	SamlSerializer samlSerializer,
	SecurityTokenSerializer keyInfoSerializer
)

Parameters

writer
Type: System.Xml.XmlDictionaryWriter

A XmlDictionaryWriter to write the SAML statement.

samlSerializer
Type: System.IdentityModel.Tokens.SamlSerializer

A SamlSerializer that is capable of writing XML elements in a SAML assertion.

keyInfoSerializer
Type: System.IdentityModel.Selectors.SecurityTokenSerializer

A SecurityTokenSerializer that is capable of writing KeyInfo clauses.

.NET Framework
Available since 3.0
Return to top
Show: