ExportProvider.PartLifecycleState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The several stages of initialization that each MEF part goes through.
protected internal enum ExportProvider.PartLifecycleState
Protected Friend Enum ExportProvider.PartLifecycleState
- Inheritance
-
ExportProvider.PartLifecycleState
Fields
Name | Value | Description |
---|---|---|
NotCreated | 0 | The MEF part has not yet been instantiated. |
Creating | 1 | The MEF part's importing constructor is being invoked. |
Created | 2 | The MEF part has been instantiated. |
ImmediateImportsSatisfied | 3 | The MEF part's importing members have been satisfied. |
ImmediateImportsSatisfiedTransitively | 4 | All MEF parts reachable from this one (through non-lazy import paths) have been satisfied. |
OnImportsSatisfiedInProgress | 5 | The MEF part's OnImportsSatisfied method is being invoked. |
OnImportsSatisfiedInvoked | 6 | The MEF part's OnImportsSatisfied method has been invoked (or would have if one was defined). |
OnImportsSatisfiedInvokedTransitively | 7 | The OnImportsSatisfied methods on this and all MEF parts reachable from this one (through non-lazy import paths) have been invoked. |
Final | 8 | This part is ready for exposure to the user. |