MtomMessageEncodingBindingElement.IWsdlExportExtension.ExportContract 方法

定义

修改 MTOM 特定信息的 WSDL 协定。

 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);
abstract member System.ServiceModel.Description.IWsdlExportExtension.ExportContract : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlContractConversionContext -> unit
override this.System.ServiceModel.Description.IWsdlExportExtension.ExportContract : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlContractConversionContext -> unit
Sub ExportContract (exporter As WsdlExporter, context As WsdlContractConversionContext) Implements IWsdlExportExtension.ExportContract

参数

exporter
WsdlExporter

可导出协定信息的 WsdlExporter

context
WsdlContractConversionContext

一个 WsdlContractConversionContext 对象,该对象提供从导出的 WSDL 元素到协定说明的映射。

实现

注解

IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext) 方法将 SOAP 消息版本放入 WSDL。

适用于