Export (0) Print
Expand All
Expand Minimize

Saml2SecurityTokenHandler.WriteProxyRestriction Method

.NET Framework 4.6 and 4.5

Writes the <saml:ProxyRestriction> element.

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

abstract WriteProxyRestriction : 
        writer:XmlWriter * 
        data:Saml2ProxyRestriction -> unit  
override WriteProxyRestriction : 
        writer:XmlWriter * 
        data:Saml2ProxyRestriction -> unit

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter with which to write the data.

data
Type: System.IdentityModel.Tokens.Saml2ProxyRestriction

The data to write.

ExceptionCondition
ArgumentNullException

data is a null reference (Nothing in Visual Basic).

-or-

writer is a null reference (Nothing in Visual Basic).

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft