WsdlExporter.ExportEndpoints 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從指定服務產生關於一組端點的元資料。
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 方法來建立指定服務中一組端點的元資料。