Compartir a través de


ExportLifetimeContext<T>(T, Action) Constructor

Definición

Inicializa una nueva instancia de la clase 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)

Parámetros

value
T

Valor exportado.

disposeAction
Action

Referencia a un método para liberar el objeto.

Se aplica a