ExportLifetimeContext<T>(T, Action) Konstruktor

Definition

Initialisiert eine neue Instanz der ExportLifetimeContext<T>-Klasse.

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)

Parameter

value
T

Der exportierte Wert.

disposeAction
Action

Ein Verweis auf eine Methode zum Freigeben des Objekts.

Gilt für: