MetadataSerializer.WriteApplicationServiceDescriptor 方法

定义

写入应用程序服务描述符。

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)

参数

writer
XmlWriter

XML 编写器。

appService
ApplicationServiceDescriptor

应用程序服务描述符。

例外

writernull

appServicenull

- 或 -

appServiceEndpoints 属性为 null

- 或 -

appServicePassiveRequestorEndpoints 属性为 null

适用于