Deployment Tools Foundation
ValidStates Property
Gets a list of valid installation states for the feature.

C# | Visual Basic | Visual C++ |
public ICollection<InstallState> ValidStates { get; }
Public ReadOnly Property ValidStates As ICollection(Of InstallState)
public: property ICollection<InstallState>^ ValidStates { ICollection<InstallState>^ get (); }

Win32 MSI API: MsiGetFeatureValidStates

Exception | Condition |
---|---|
InvalidHandleException | the Session handle is invalid |
ArgumentException | an unknown feature was requested |