Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

private:
virtual void ExportPolicy(
	MetadataExporter^ exporter,
	PolicyConversionContext^ context
) sealed = IPolicyExportExtension::ExportPolicy

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:
© 2017 Microsoft