Deployment Tools Foundation
CurrentState Property
Gets the current install state of the feature.
Declaration Syntax| C# | Visual Basic | Visual C++ |
public InstallState CurrentState { get; }
Public ReadOnly Property CurrentState As InstallState
public: property InstallState CurrentState { InstallState get (); }
RemarksWin32 MSI API: MsiGetFeatureState
Exceptions| Exception | Condition |
|---|---|
| InvalidHandleException | the Session handle is invalid |
| ArgumentException | an unknown feature was requested |