ExportLifetimeContext<T>(T, Action) Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.