ExportLifetimeContext<T>(T, Action) 建構函式

定義

初始化 ExportLifetimeContext<T> 類別的新執行個體。

public:
 ExportLifetimeContext(T value, Action ^ disposeAction);
public ExportLifetimeContext (T value, Action disposeAction);
new System.ComponentModel.Composition.ExportLifetimeContext<'T> : 'T * Action -> System.ComponentModel.Composition.ExportLifetimeContext<'T>
Public Sub New (value As T, disposeAction As Action)

參數

value
T

匯出值。

disposeAction
Action

釋放物件的方法參考。

適用於