Saml2SecurityTokenHandler::WriteProxyRestriction Method (XmlWriter^, Saml2ProxyRestriction^)

.NET Framework (current version)
 

Writes the <saml:ProxyRestriction> element.

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

protected:
virtual void WriteProxyRestriction(
	XmlWriter^ writer,
	Saml2ProxyRestriction^ data
)

Parameters

writer
Type: System.Xml::XmlWriter^

The XmlWriter with which to write the data.

data
Type: System.IdentityModel.Tokens::Saml2ProxyRestriction^

The data to write.

Exception Condition
ArgumentNullException

data is null.

-or-

writer is null.

.NET Framework
Available since 4.5
Return to top
Show: