Saml2SecurityTokenHandler.WriteAdvice Method (XmlWriter, Saml2Advice)

.NET Framework (current version)
 

Writes the <saml:Advice> element.

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

protected virtual void WriteAdvice(
	XmlWriter writer,
	Saml2Advice data
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter with which to write the data.

data
Type: System.IdentityModel.Tokens.Saml2Advice

The data to write.

Exception Condition
ArgumentNullException

data is null.

-or-

writer is null.

.NET Framework
Available since 4.5
Return to top
Show: