MetadataSerializer.WriteApplicationServiceDescriptor 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 an application service descriptor.
protected:
 virtual void WriteApplicationServiceDescriptor(System::Xml::XmlWriter ^ writer, System::IdentityModel::Metadata::ApplicationServiceDescriptor ^ appService);protected virtual void WriteApplicationServiceDescriptor(System.Xml.XmlWriter writer, System.IdentityModel.Metadata.ApplicationServiceDescriptor appService);abstract member WriteApplicationServiceDescriptor : System.Xml.XmlWriter * System.IdentityModel.Metadata.ApplicationServiceDescriptor -> unit
override this.WriteApplicationServiceDescriptor : System.Xml.XmlWriter * System.IdentityModel.Metadata.ApplicationServiceDescriptor -> unitProtected Overridable Sub WriteApplicationServiceDescriptor (writer As XmlWriter, appService As ApplicationServiceDescriptor)Parameters
- writer
- XmlWriter
The XML writer.
- appService
- ApplicationServiceDescriptor
The application service descriptor.
Exceptions
writer is null.
-or-
appService is null.
-or-
The Endpoints property of appService is null.
-or-
The PassiveRequestorEndpoints property of appService is null.