Deployment Tools Foundation
RequestState Property
Gets or sets the action state of the designated Component.
Declaration Syntax
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); }
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.9.1006.0)