MetadataSerializer.WriteApplicationServiceDescriptor Method

Definition

Writes an application service descriptor.

C#
protected virtual void WriteApplicationServiceDescriptor(System.Xml.XmlWriter writer, System.IdentityModel.Metadata.ApplicationServiceDescriptor appService);

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

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1