共用方式為


SamlCondition.WriteXml 方法

定義

在衍生類別中覆寫時,將條件寫入至指定的 XML 序列化程式。

public:
 abstract void WriteXml(System::Xml::XmlDictionaryWriter ^ writer, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::IdentityModel::Selectors::SecurityTokenSerializer ^ keyInfoSerializer);
public abstract void WriteXml (System.Xml.XmlDictionaryWriter writer, System.IdentityModel.Tokens.SamlSerializer samlSerializer, System.IdentityModel.Selectors.SecurityTokenSerializer keyInfoSerializer);
abstract member WriteXml : System.Xml.XmlDictionaryWriter * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer -> unit
Public MustOverride Sub WriteXml (writer As XmlDictionaryWriter, samlSerializer As SamlSerializer, keyInfoSerializer As SecurityTokenSerializer)

參數

writer
XmlDictionaryWriter

要寫入條件的 XmlDictionaryWriter

samlSerializer
SamlSerializer

SamlSerializer,它能夠將 XML 元素寫入至 SAML 判斷提示。

keyInfoSerializer
SecurityTokenSerializer

SecurityTokenSerializer,它可以寫入 KeyInfo 子句。

適用於