Freigeben über


TransportBindingElementImporter.IPolicyImportExtension.ImportPolicy Methode

Definition

Importiert eine TransportBindingElement-Instanz aus der an die WSDL-Bindung angefügten Richtlinie.

 virtual void System.ServiceModel.Description.IPolicyImportExtension.ImportPolicy(System::ServiceModel::Description::MetadataImporter ^ importer, System::ServiceModel::Description::PolicyConversionContext ^ policyContext) = System::ServiceModel::Description::IPolicyImportExtension::ImportPolicy;
void IPolicyImportExtension.ImportPolicy (System.ServiceModel.Description.MetadataImporter importer, System.ServiceModel.Description.PolicyConversionContext policyContext);
abstract member System.ServiceModel.Description.IPolicyImportExtension.ImportPolicy : System.ServiceModel.Description.MetadataImporter * System.ServiceModel.Description.PolicyConversionContext -> unit
override this.System.ServiceModel.Description.IPolicyImportExtension.ImportPolicy : System.ServiceModel.Description.MetadataImporter * System.ServiceModel.Description.PolicyConversionContext -> unit
Sub ImportPolicy (importer As MetadataImporter, policyContext As PolicyConversionContext) Implements IPolicyImportExtension.ImportPolicy

Parameter

importer
MetadataImporter

Der MetadataImporter, der den Import durchführt.

policyContext
PolicyConversionContext

Der PolicyConversionContext für das Vertragsbindungselement.

Implementiert

Gilt für: