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.

UdpTransportBindingElement::IPolicyExportExtension::ExportPolicy Method (MetadataExporter^, PolicyConversionContext^)

.NET Framework (current version)
 

Writes the custom policy assertions into the context of the binding element.

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

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

Parameters

exporter
Type: System.ServiceModel.Description::MetadataExporter^

The object that exports the metadata information.

context
Type: System.ServiceModel.Description::PolicyConversionContext^

The PolicyConversionContext that you can use to insert the custom policy assertion.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft