ExportProvider.PartLifecycleTracker.GetValueReadyToExpose Method

Definition

Gets the instance of the part after fully initializing it.

public object GetValueReadyToExpose ();
member this.GetValueReadyToExpose : unit -> obj
Public Function GetValueReadyToExpose () As Object

Returns

Remarks

In the less common case that this method is called on top of a callstack where this same part is actually *in progress* of executing any initialization step, this method will simply return the value as-is rather than deadlock or throw. This allows certain spec'd MEF behaviors to work.

Applies to