共用方式為


CompositeDuplexBindingElementImporter.IPolicyImportExtension.ImportPolicy 方法

定義

匯入複合雙工繫結的自訂原則判斷提示。

 virtual void System.ServiceModel.Description.IPolicyImportExtension.ImportPolicy(System::ServiceModel::Description::MetadataImporter ^ importer, System::ServiceModel::Description::PolicyConversionContext ^ context) = System::ServiceModel::Description::IPolicyImportExtension::ImportPolicy;
void IPolicyImportExtension.ImportPolicy (System.ServiceModel.Description.MetadataImporter importer, System.ServiceModel.Description.PolicyConversionContext context);
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, context As PolicyConversionContext) Implements IPolicyImportExtension.ImportPolicy

參數

importer
MetadataImporter

匯出中繼資料資訊的 MetadataImporter

context
PolicyConversionContext

PolicyConversionContext 物件,同時包含可以匯入的原則判斷提示,以及實作原則之自訂繫結項目可加入的繫結項目集合。

實作

例外狀況

importercontextnull

適用於