TextMessageEncodingBindingElement.IPolicyExportExtension.ExportPolicy Method (MetadataExporter, PolicyConversionContext)

 

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

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

void IPolicyExportExtension.ExportPolicy(
	MetadataExporter exporter,
	PolicyConversionContext context
)

Parameters

exporter
Type: System.ServiceModel.Description.MetadataExporter

The WsdlExporter that exports the contract information.

context
Type: System.ServiceModel.Description.PolicyConversionContext

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

Exception Condition
ArgumentNullException

context is null.

.NET Framework
Available since 3.0
Return to top
Show: