Bewerken

Delen via


BinaryMessageEncodingBindingElement.IPolicyExportExtension.ExportPolicy Method

Definition

Writes a custom binary message encoding elements into the generated metadata for an endpoint.

 virtual void System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy(System::ServiceModel::Description::MetadataExporter ^ exporter, System::ServiceModel::Description::PolicyConversionContext ^ policyContext) = System::ServiceModel::Description::IPolicyExportExtension::ExportPolicy;
void IPolicyExportExtension.ExportPolicy (System.ServiceModel.Description.MetadataExporter exporter, System.ServiceModel.Description.PolicyConversionContext policyContext);
abstract member System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy : System.ServiceModel.Description.MetadataExporter * System.ServiceModel.Description.PolicyConversionContext -> unit
override this.System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy : System.ServiceModel.Description.MetadataExporter * System.ServiceModel.Description.PolicyConversionContext -> unit
Sub ExportPolicy (exporter As MetadataExporter, policyContext As PolicyConversionContext) Implements IPolicyExportExtension.ExportPolicy

Parameters

exporter
MetadataExporter

The MetadataExporter that exports the metadata information.

policyContext
PolicyConversionContext

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

Implements

Applies to