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
public: property InstallState RequestState { InstallState get (); void set (InstallState 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 |