PrivacyNoticeBindingElementImporter.IPolicyImportExtension.ImportPolicy 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
匯入隱私權注意事項的自訂原則判斷提示,並新增實作原則的繫結項目。
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
參數
- importer
- MetadataImporter
匯出中繼資料資訊的 MetadataImporter。
- policyContext
- PolicyConversionContext
PolicyConversionContext 物件,其中包含可以匯入的原則判斷提示,以及可以在其中加入實作編碼原則之自訂繫結項目的繫結項目集合。