Export (0) Print
Expand All
Expand Minimize

SamlSecurityTokenHandler.WriteStatement Method

.NET Framework 4.5

Writes a SamlStatement.

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

protected virtual void WriteStatement(
	XmlWriter writer,
	SamlStatement statement
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter with which to write the data.

statement
Type: System.IdentityModel.Tokens.SamlStatement

The data to write.

ExceptionCondition
ArgumentNullException

statement is null.

-or-

writer is null.

This method may write a <saml:AttributeStatement>, <saml:AuthnStatement>, or <saml:AuthzDecisionStatement> element. To handle custom SamlStatement classes for writing a <saml:Statement> element, override this method.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft