ContextBindingElementImporter.ImportPolicy(MetadataImporter, PolicyConversionContext) 方法

定義

匯入中繼資料。Import metadata.

public:
 virtual void ImportPolicy(System::ServiceModel::Description::MetadataImporter ^ importer, System::ServiceModel::Description::PolicyConversionContext ^ context);
public virtual void ImportPolicy (System.ServiceModel.Description.MetadataImporter importer, System.ServiceModel.Description.PolicyConversionContext context);
abstract member ImportPolicy : System.ServiceModel.Description.MetadataImporter * System.ServiceModel.Description.PolicyConversionContext -> unit
override this.ImportPolicy : System.ServiceModel.Description.MetadataImporter * System.ServiceModel.Description.PolicyConversionContext -> unit
Public Overridable Sub ImportPolicy (importer As MetadataImporter, context As PolicyConversionContext)

參數

實作

例外狀況

importercontextnullEither importer or context is null.

適用於