MtomMessageEncodingBindingElement.IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext) 方法

定義

將 SOAP 訊息版本置入 WSDL。Puts the SOAP message version into the WSDL.

 virtual void System.ServiceModel.Description.IWsdlExportExtension.ExportEndpoint(System::ServiceModel::Description::WsdlExporter ^ exporter, System::ServiceModel::Description::WsdlEndpointConversionContext ^ context) = System::ServiceModel::Description::IWsdlExportExtension::ExportEndpoint;
void IWsdlExportExtension.ExportEndpoint (System.ServiceModel.Description.WsdlExporter exporter, System.ServiceModel.Description.WsdlEndpointConversionContext context);
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, context As WsdlEndpointConversionContext) Implements IWsdlExportExtension.ExportEndpoint

參數

exporter
WsdlExporter

WsdlExporter,可匯出合約資訊。The WsdlExporter that exports the contract information.

context
WsdlEndpointConversionContext

WsdlContractConversionContext 物件,提供從匯出的 WSDL 項目到端點描述之間的對應。A WsdlContractConversionContext object that provides mappings from exported WSDL elements to the endpoint description.

實作

例外狀況

contextnullcontext is null.

備註

任何支援 SOAP 的自訂訊息編碼繫結項目都會負責將 SOAP 訊息版本加入至 WSDL 中。Any custom message encoding binding element that supports SOAP is responsible for adding the SOAP message version into the WSDL.

適用於