TextMessageEncodingBindingElement.IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext) TextMessageEncodingBindingElement.IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext) TextMessageEncodingBindingElement.IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext) Method

Definition

Generates WSDL contract information from encoding policies contained in the binding element.

 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

Parameters

exporter
WsdlExporter WsdlExporter WsdlExporter

The WsdlExporter that exports the contract information.

context
WsdlContractConversionContext WsdlContractConversionContext WsdlContractConversionContext

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

Implements

Remarks

The TextMessageEncodingBindingElement is responsible for setting information about the message version in the WSDL. But this is done by the IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext) method, not by IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext), which is implemented but empty.

Applies to