共用方式為


ImportEngine 建構函式

定義

初始化 ImportEngine 類別的新實例。

多載

ImportEngine(ExportProvider)

初始化 ImportEngine 類別的新實例。

ImportEngine(ExportProvider, Boolean)

選擇性地在安全線程模式中,初始化 ImportEngine 類別的新實例。

ImportEngine(ExportProvider, CompositionOptions)

使用指定的選項,初始化 ImportEngine 類別的新實例。

ImportEngine(ExportProvider)

來源:
ImportEngine.cs
來源:
ImportEngine.cs
來源:
ImportEngine.cs
來源:
ImportEngine.cs

初始化 ImportEngine 類別的新實例。

public:
 ImportEngine(System::ComponentModel::Composition::Hosting::ExportProvider ^ sourceProvider);
public ImportEngine (System.ComponentModel.Composition.Hosting.ExportProvider sourceProvider);
new System.ComponentModel.Composition.Hosting.ImportEngine : System.ComponentModel.Composition.Hosting.ExportProvider -> System.ComponentModel.Composition.Hosting.ImportEngine
Public Sub New (sourceProvider As ExportProvider)

參數

sourceProvider
ExportProvider

提供 Export 物件 ImportEngine 存取權的 ExportProvider

適用於

ImportEngine(ExportProvider, Boolean)

來源:
ImportEngine.cs
來源:
ImportEngine.cs
來源:
ImportEngine.cs
來源:
ImportEngine.cs

選擇性地在安全線程模式中,初始化 ImportEngine 類別的新實例。

public:
 ImportEngine(System::ComponentModel::Composition::Hosting::ExportProvider ^ sourceProvider, bool isThreadSafe);
public ImportEngine (System.ComponentModel.Composition.Hosting.ExportProvider sourceProvider, bool isThreadSafe);
new System.ComponentModel.Composition.Hosting.ImportEngine : System.ComponentModel.Composition.Hosting.ExportProvider * bool -> System.ComponentModel.Composition.Hosting.ImportEngine
Public Sub New (sourceProvider As ExportProvider, isThreadSafe As Boolean)

參數

sourceProvider
ExportProvider

提供 Export 物件 ImportEngine 存取權的 ExportProvider

isThreadSafe
Boolean

如果需要線程安全性,true;否則,false

適用於

ImportEngine(ExportProvider, CompositionOptions)

來源:
ImportEngine.cs
來源:
ImportEngine.cs
來源:
ImportEngine.cs
來源:
ImportEngine.cs

使用指定的選項,初始化 ImportEngine 類別的新實例。

public:
 ImportEngine(System::ComponentModel::Composition::Hosting::ExportProvider ^ sourceProvider, System::ComponentModel::Composition::Hosting::CompositionOptions compositionOptions);
public ImportEngine (System.ComponentModel.Composition.Hosting.ExportProvider sourceProvider, System.ComponentModel.Composition.Hosting.CompositionOptions compositionOptions);
new System.ComponentModel.Composition.Hosting.ImportEngine : System.ComponentModel.Composition.Hosting.ExportProvider * System.ComponentModel.Composition.Hosting.CompositionOptions -> System.ComponentModel.Composition.Hosting.ImportEngine
Public Sub New (sourceProvider As ExportProvider, compositionOptions As CompositionOptions)

參數

sourceProvider
ExportProvider

提供 Export 物件 ImportEngine 存取權的 ExportProvider

compositionOptions
CompositionOptions

物件,指定影響引擎行為的選項。

適用於