MetadataSerializer.WriteServiceProviderSingleSignOnDescriptor 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
寫入 SPSSO 描述元。
protected:
virtual void WriteServiceProviderSingleSignOnDescriptor(System::Xml::XmlWriter ^ writer, System::IdentityModel::Metadata::ServiceProviderSingleSignOnDescriptor ^ serviceProviderSingleSignOnDescriptor);
protected virtual void WriteServiceProviderSingleSignOnDescriptor (System.Xml.XmlWriter writer, System.IdentityModel.Metadata.ServiceProviderSingleSignOnDescriptor serviceProviderSingleSignOnDescriptor);
abstract member WriteServiceProviderSingleSignOnDescriptor : System.Xml.XmlWriter * System.IdentityModel.Metadata.ServiceProviderSingleSignOnDescriptor -> unit
override this.WriteServiceProviderSingleSignOnDescriptor : System.Xml.XmlWriter * System.IdentityModel.Metadata.ServiceProviderSingleSignOnDescriptor -> unit
Protected Overridable Sub WriteServiceProviderSingleSignOnDescriptor (writer As XmlWriter, serviceProviderSingleSignOnDescriptor As ServiceProviderSingleSignOnDescriptor)
參數
- writer
- XmlWriter
XML 寫入器。
- serviceProviderSingleSignOnDescriptor
- ServiceProviderSingleSignOnDescriptor
SPSSO 描述元。
例外狀況
writer
為 null
。
-或-
serviceProviderSingleSignOnDescriptor
為 null
。
-或-
serviceProviderSingleSignOnDescriptor
的 AssertionConsumerServices 屬性為 null
。