TextMessageEncodingBindingElement.IWsdlExportExtension.ExportEndpoint Method (WsdlExporter, WsdlEndpointConversionContext)

 

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

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

void IWsdlExportExtension.ExportEndpoint(
	WsdlExporter exporter,
	WsdlEndpointConversionContext context
)

Parameters

exporter
Type: System.ServiceModel.Description.WsdlExporter

The WsdlExporter that exports the contract information.

context
Type: System.ServiceModel.Description.WsdlEndpointConversionContext

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

Exception Condition
ArgumentNullException

context is null.

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.

.NET Framework
Available since 3.0
Return to top
Show: