共用方式為


MetadataSerializer.WriteSecurityTokenServiceDescriptor 方法

定義

寫入安全性權杖服務描述元。

protected:
 virtual void WriteSecurityTokenServiceDescriptor(System::Xml::XmlWriter ^ writer, System::IdentityModel::Metadata::SecurityTokenServiceDescriptor ^ securityTokenServiceDescriptor);
protected virtual void WriteSecurityTokenServiceDescriptor (System.Xml.XmlWriter writer, System.IdentityModel.Metadata.SecurityTokenServiceDescriptor securityTokenServiceDescriptor);
abstract member WriteSecurityTokenServiceDescriptor : System.Xml.XmlWriter * System.IdentityModel.Metadata.SecurityTokenServiceDescriptor -> unit
override this.WriteSecurityTokenServiceDescriptor : System.Xml.XmlWriter * System.IdentityModel.Metadata.SecurityTokenServiceDescriptor -> unit
Protected Overridable Sub WriteSecurityTokenServiceDescriptor (writer As XmlWriter, securityTokenServiceDescriptor As SecurityTokenServiceDescriptor)

參數

writer
XmlWriter

XML 寫入器。

securityTokenServiceDescriptor
SecurityTokenServiceDescriptor

安全性權杖服務描述元。

例外狀況

writernull

-或-

securityTokenServiceDescriptornull

-或-

securityTokenServiceDescriptorSecurityTokenServiceEndpoints 屬性為 null

-或-

securityTokenServiceDescriptorPassiveRequestorEndpoints 屬性為 null

適用於