ExportLifetimeContext<T>(T, Action) Konstruktor

Definition

Initierar en ny instans av ExportLifetimeContext<T> klassen.

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)

Parametrar

value
T

Det exporterade värdet.

disposeAction
Action

En referens till en metod för att frigöra objektet.

Gäller för