![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
State Property
Gets the installation state of this instance of the patch.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ |
public PatchStates State { get; }
Public ReadOnly Property State As PatchStates Get
public: property PatchStates State { PatchStates get (); }
![](collapse_all.gif)
![](collapse_all.gif)
Exception | Condition |
---|---|
ArgumentException | An unknown patch was requested |
InstallerException | The installer configuration data is corrupt |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)