RequestState Property

Microsoft Deployment Tools

Deployment Tools Foundation RequestState Property
Gets or sets the action state of the feature.
Declaration Syntax
C# Visual Basic Visual C++
public InstallState RequestState { get; set; }
Public Property RequestState As InstallState
public:
property InstallState RequestState {
	InstallState get ();
	void set (InstallState value);
}
Remarks

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

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

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)