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

适用于