MetadataSerializer.WriteSecurityTokenServiceDescriptor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.