Partager via


Saml2Serializer.WriteProxyRestriction Method

Definition

Writes the <saml:ProxyRestriction> element.

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

Parameters

writer
XmlWriter

A XmlWriter to serialize the Saml2ProxyRestriction.

proxyRestriction
Saml2ProxyRestriction

The Saml2ProxyRestriction to serialize.

Applies to