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

服務的名稱。

例外狀況

匯出工具發生錯誤。

endpointswsdlServiceQNamenull

繫結為 null

備註

您可以使用 ExportEndpoints 方法,從指定服務建立有關一組端點的中繼資料。

適用於