共用方式為


PeerTransportBindingElement.IWsdlExportExtension.ExportEndpoint 方法

定義

將自訂的對等傳輸通道項目寫入至為端點產生的 WSDL。

 virtual void System.ServiceModel.Description.IWsdlExportExtension.ExportEndpoint(System::ServiceModel::Description::WsdlExporter ^ exporter, System::ServiceModel::Description::WsdlEndpointConversionContext ^ endpointContext) = System::ServiceModel::Description::IWsdlExportExtension::ExportEndpoint;
void IWsdlExportExtension.ExportEndpoint (System.ServiceModel.Description.WsdlExporter exporter, System.ServiceModel.Description.WsdlEndpointConversionContext endpointContext);
abstract member System.ServiceModel.Description.IWsdlExportExtension.ExportEndpoint : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlEndpointConversionContext -> unit
override this.System.ServiceModel.Description.IWsdlExportExtension.ExportEndpoint : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlEndpointConversionContext -> unit
Sub ExportEndpoint (exporter As WsdlExporter, endpointContext As WsdlEndpointConversionContext) Implements IWsdlExportExtension.ExportEndpoint

參數

exporter
WsdlExporter

WsdlExporter,可匯出端點資訊。

endpointContext
WsdlEndpointConversionContext

WsdlEndpointConversionContext 物件,提供從匯出的 WSDL 項目到端點描述之間的對應。

實作

例外狀況

contextnull

適用於