CompositeDuplexBindingElement.IPolicyExportExtension.ExportPolicy 方法

定义

导出关于绑定的自定义策略断言,该自定义断言表示在绑定中出现复合双工。

 virtual void System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy(System::ServiceModel::Description::MetadataExporter ^ exporter, System::ServiceModel::Description::PolicyConversionContext ^ context) = System::ServiceModel::Description::IPolicyExportExtension::ExportPolicy;
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

参数

exporter
MetadataExporter

可以用来修改导出过程的 MetadataExporter

context
PolicyConversionContext

可以用来插入您的自定义策略断言的 PolicyConversionContext

实现

例外

contextnull

注解

有关详细信息,请参阅 IPolicyExportExtension

适用于