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

Ссылка на метод для освобождения объекта.

Применяется к