Edit

Kongsi melalui


MtomMessageEncodingBindingElement.IWsdlExportExtension.ExportContract Method

Definition

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);
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

Parameters

exporter
WsdlExporter

The WsdlExporter that exports the contract information.

context
WsdlContractConversionContext

A WsdlContractConversionContext object that provides mappings from exported WSDL elements to the contract description.

Implements

Remarks

The IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext) method puts the SOAP message version into the WSDL.

Applies to