共用方式為


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

適用於