MtomMessageEncodingBindingElement.IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext) 方法

定義

修改 MTOM 特定的資訊 WSDL 合約。Modifies the WSDL contract for MTOM-specific information.

 virtual void System.ServiceModel.Description.IWsdlExportExtension.ExportContract(System::ServiceModel::Description::WsdlExporter ^ exporter, System::ServiceModel::Description::WsdlContractConversionContext ^ context) = System::ServiceModel::Description::IWsdlExportExtension::ExportContract;
void IWsdlExportExtension.ExportContract (System.ServiceModel.Description.WsdlExporter exporter, System.ServiceModel.Description.WsdlContractConversionContext context);
Sub ExportContract (exporter As WsdlExporter, context As WsdlContractConversionContext) Implements IWsdlExportExtension.ExportContract

參數

exporter
WsdlExporter

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

context
WsdlContractConversionContext

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

實作

備註

IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext) 方法會將 SOAP 訊息版本置入 WSDL。The IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext) method puts the SOAP message version into the WSDL.

適用於