Partager via


TextMessageEncodingBindingElement.IPolicyExportExtension.ExportPolicy Méthode

Définition

Génère des informations de contrat WSDL à partir de stratégies d’encodage contenues dans l’élément de liaison.

 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

Paramètres

exporter
MetadataExporter

WsdlExporter qui exporte les informations de contrat.

context
PolicyConversionContext

Objet WsdlContractConversionContext fournissant des mappages d'éléments WSDL exportés vers la description de contrat.

Implémente

Exceptions

context a la valeur null.

S’applique à