Edit

Share via


MetadataSerializer.WriteWebServiceDescriptorElements Method

Definition

Writes a web service descriptor element.

protected:
 virtual void WriteWebServiceDescriptorElements(System::Xml::XmlWriter ^ writer, System::IdentityModel::Metadata::WebServiceDescriptor ^ wsDescriptor);
protected virtual void WriteWebServiceDescriptorElements (System.Xml.XmlWriter writer, System.IdentityModel.Metadata.WebServiceDescriptor wsDescriptor);
abstract member WriteWebServiceDescriptorElements : System.Xml.XmlWriter * System.IdentityModel.Metadata.WebServiceDescriptor -> unit
override this.WriteWebServiceDescriptorElements : System.Xml.XmlWriter * System.IdentityModel.Metadata.WebServiceDescriptor -> unit
Protected Overridable Sub WriteWebServiceDescriptorElements (writer As XmlWriter, wsDescriptor As WebServiceDescriptor)

Parameters

writer
XmlWriter

The XML writer.

wsDescriptor
WebServiceDescriptor

The web service descriptor.

Exceptions

reader is null.

-or-

wsDescriptor is .null

-or-

The TargetScopes property of wsDescriptor is null.

-or-

The ClaimTypesOffered property of wsDescriptor is null.

-or-

The TokenTypesOffered property of wsDescriptor is null.

The parameter reader/roleDescriptor/roleDescriptor.TargetScopes/roleDescriptor.TargetScopes/roleDescriptor.TokenTypesOffered is null.

Applies to