![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
RequestState Property
Gets or sets the action state of the feature.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ |
public InstallState RequestState { get; set; }
Public Property RequestState As InstallState Get Set
public: property InstallState RequestState { InstallState get (); void set (InstallState value); }
![](collapse_all.gif)
![](collapse_all.gif)
When changing the feature action, the action state of all the Components linked to the changed Feature records are also updated appropriately, based on the new feature Select state. All Features can be configured at once by specifying the keyword ALL instead of a specific feature name.
Win32 MSI APIs: MsiGetFeatureState, MsiSetFeatureState
![](collapse_all.gif)
Exception | Condition |
---|---|
InvalidHandleException | the Session handle is invalid |
ArgumentException | an unknown feature was requested |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)