TextMessageEncodingBindingElement.IPolicyExportExtension.ExportPolicy 方法

定义

从包含在绑定元素中的编码策略中生成 WSDL 协定信息。

 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

可导出协定信息的 WsdlExporter

context
PolicyConversionContext

一个 WsdlContractConversionContext 对象,该对象提供从导出的 WSDL 元素到协定说明的映射。

实现

例外

contextnull

适用于