共用方式為


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

適用於