Edit

Share via


MetadataSerializer.WriteApplicationServiceDescriptor Method

Definition

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 -> unit
Protected 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.

Applies to