Deployment Tools Foundation
RequestState Property
Gets or sets the action state of the designated Component.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public InstallState RequestState { get; set; }
Public Property RequestState As InstallState Get Set
public: property InstallState RequestState { InstallState get (); void set (InstallState value); }
member RequestState : InstallState with get, set
Property Value
Remarks
Win32 MSI APIs: MsiGetComponentState, MsiSetComponentState
Exceptions
Exception | Condition |
---|---|
InvalidHandleException | the Session handle is invalid |
ArgumentException | an unknown Component was requested |
InstallCanceledException | the user exited the installation |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)