語言

WsdlExporter.ExportEndpoints 方法

定義

從指定服務產生關於一組端點的元資料。

public:
 void ExportEndpoints(System::Collections::Generic::IEnumerable<System::ServiceModel::Description::ServiceEndpoint ^> ^ endpoints, System::Xml::XmlQualifiedName ^ wsdlServiceQName);
public void ExportEndpoints(System.Collections.Generic.IEnumerable<System.ServiceModel.Description.ServiceEndpoint> endpoints, System.Xml.XmlQualifiedName wsdlServiceQName);
member this.ExportEndpoints : seq<System.ServiceModel.Description.ServiceEndpoint> * System.Xml.XmlQualifiedName -> unit
Public Sub ExportEndpoints (endpoints As IEnumerable(Of ServiceEndpoint), wsdlServiceQName As XmlQualifiedName)

參數

endpoints
IEnumerable<ServiceEndpoint>

要 ServiceEndpoint 產生元資料的物件。

wsdlServiceQName
XmlQualifiedName

服務的名稱。

例外狀況

匯出器遇到錯誤。

endpoints 或 wsdlServiceQName 為 null。

綁定是 null。

備註

使用此 ExportEndpoints 方法來建立指定服務中一組端點的元資料。

適用於