Saml2SecurityTokenHandler.WriteProxyRestriction Method

Definition

Writes the <saml:ProxyRestriction> element.

protected:
 virtual void WriteProxyRestriction(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::Saml2ProxyRestriction ^ data);
protected virtual void WriteProxyRestriction (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.Saml2ProxyRestriction data);
abstract member WriteProxyRestriction : System.Xml.XmlWriter * System.IdentityModel.Tokens.Saml2ProxyRestriction -> unit
override this.WriteProxyRestriction : System.Xml.XmlWriter * System.IdentityModel.Tokens.Saml2ProxyRestriction -> unit
Protected Overridable Sub WriteProxyRestriction (writer As XmlWriter, data As Saml2ProxyRestriction)

Parameters

writer
XmlWriter

The XmlWriter with which to write the data.

data
Saml2ProxyRestriction

The data to write.

Exceptions

data is null.

-or-

writer is null.

Applies to