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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.