TcpRelayTransportBindingElement.IPolicyExportExtension.ExportPolicy Method

Definition

Exports a custom policy assertion about this binding.

void IPolicyExportExtension.ExportPolicy (System.ServiceModel.Description.MetadataExporter exporter, System.ServiceModel.Description.PolicyConversionContext context);
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, context As PolicyConversionContext) Implements IPolicyExportExtension.ExportPolicy

Parameters

exporter
System.ServiceModel.Description.MetadataExporter

The MetadataExporter that you can use to modify the exporting process.

context
System.ServiceModel.Description.PolicyConversionContext

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

Implements

System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy(System.ServiceModel.Description.MetadataExporter,System.ServiceModel.Description.PolicyConversionContext)

Applies to