Comparteix a través de


TextMessageEncodingBindingElement.IPolicyExportExtension.ExportPolicy Método

Definición

Genera información de contrato del WSDL de las directivas de codificación contenidas en el elemento de enlace.

 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

Parámetros

exporter
MetadataExporter

WsdlExporter que exporta la información del contrato.

context
PolicyConversionContext

Objeto WsdlContractConversionContext que proporciona las asignaciones de los elementos WSDL exportados a la descripción del contrato.

Implementaciones

Excepciones

context es null.

Se aplica a