TextMessageEncodingBindingElement.IWsdlExportExtension.ExportContract Method (WsdlExporter, WsdlContractConversionContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

private abstract ExportContract : 
        exporter:WsdlExporter *
        context:WsdlContractConversionContext -> unit
private override ExportContract : 
        exporter:WsdlExporter *
        context:WsdlContractConversionContext -> unit

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: