PeerTransportBindingElement.IPolicyExportExtension.ExportPolicy Method (MetadataExporter, PolicyConversionContext)

 
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.

Writes custom peer transport channel elements into the generated metadata for an endpoint.

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 MetadataExporter that exports the metadata information.

context
Type: System.ServiceModel.Description.PolicyConversionContext

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

.NET Framework
Available since 3.0
Return to top
Show: