Bearbeiten

Freigeben über


ExportLifetimeContext<T>(T, Action) Constructor

Definition

Initializes a new instance of the ExportLifetimeContext<T> class.

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)

Parameters

value
T

The exported value.

disposeAction
Action

A reference to a method to release the object.

Applies to