SamlAction.WriteXml 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將這個 SamlAction 當做 <saml:Action>
項目寫入至指定的 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:Action>
。
- samlSerializer
- SamlSerializer
SamlSerializer,能夠寫入 <saml:Action>
項目與其子項目,以及定義在 SAML 規格中的屬性。
- keyInfoSerializer
- SecurityTokenSerializer
SecurityTokenSerializer,它可以寫入 KeyInfo
子句。