Saml2SecurityTokenHandler.WriteProxyRestriction 方法

定义

写入 <saml:ProxyRestriction> 元素。

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)

参数

writer
XmlWriter

用于写数据的 XmlWriter

data
Saml2ProxyRestriction

要写入的数据。

例外

datanull

writernull

适用于