TextMessageEncodingBindingElement::IWsdlExportExtension::ExportContract Method (WsdlExporter^, WsdlContractConversionContext^)

 

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

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

private:
virtual void ExportContract(
	WsdlExporter^ exporter,
	WsdlContractConversionContext^ context
) sealed = IWsdlExportExtension::ExportContract

Parameters

exporter
Type: System.ServiceModel.Description::WsdlExporter^

The WsdlExporter that exports the contract information.

context
Type: System.ServiceModel.Description::WsdlContractConversionContext^

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

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.

.NET Framework
Available since 3.0
Return to top
Show: