CurrentState Property

DTF API

Copy image CopyHover image
Deployment Tools Foundation CurrentState Property
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerFeatureInfoCurrentState
Gets the current install state of the feature.
Declaration Syntax
C# Visual Basic Visual C++ F#
public InstallState CurrentState { get; }
Public ReadOnly Property CurrentState As InstallState
	Get
public:
property InstallState CurrentState {
	InstallState get ();
}
member CurrentState : InstallState with get
Property Value
Remarks

Win32 MSI API: MsiGetFeatureState

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

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)