Edit

Share via


MetadataSerializer.WriteSecurityTokenServiceDescriptor Method

Definition

Writes a security token service descriptor.

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)

Parameters

writer
XmlWriter

The XML writer.

securityTokenServiceDescriptor
SecurityTokenServiceDescriptor

The security token service descriptor.

Exceptions

writer is null.

-or-

securityTokenServiceDescriptor is null.

-or-

The SecurityTokenServiceEndpoints property of securityTokenServiceDescriptor is null.

-or-

The PassiveRequestorEndpoints property of securityTokenServiceDescriptor is null.

Applies to