SamlAdvice.WriteXml 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将此 SamlAdvice 作为一个 <saml:Advice>
元素写入指定的 XML 编写器。
public:
virtual void WriteXml(System::Xml::XmlDictionaryWriter ^ writer, System::IdentityModel::Tokens::SamlSerializer ^ samlSerializer, System::IdentityModel::Selectors::SecurityTokenSerializer ^ keyInfoSerializer);
public virtual 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
override this.WriteXml : System.Xml.XmlDictionaryWriter * System.IdentityModel.Tokens.SamlSerializer * System.IdentityModel.Selectors.SecurityTokenSerializer -> unit
Public Overridable Sub WriteXml (writer As XmlDictionaryWriter, samlSerializer As SamlSerializer, keyInfoSerializer As SecurityTokenSerializer)
参数
- writer
- XmlDictionaryWriter
一个用于写入 XmlDictionaryWriter 元素的 <saml:Advice>
。
- samlSerializer
- SamlSerializer
一个 SamlSerializer,它能够写入 SAML 规范中定义的 <saml:Advice>
元素及其子元素和属性。
- keyInfoSerializer
- SecurityTokenSerializer
一个 SecurityTokenSerializer,它能够写入 KeyInfo
子句。