IVmApplicationHealthMonitor interface

Reports the health status of an application that is running in a virtual machine to the Hyper-V integration components running in the same virtual machine. The state of the applications running in the virtual machine are reflected in the OperationalStatus[1] property value of the Msvm_HeartbeatComponent class. This interface also provides a way to reset all of the application state accumulated in Hyper-V.

This interface is implemented by the Windows 8 Hyper-V integration components. An instance of this interface is obtained by creating an instance of the 397a2e5f-348c-482d-b9a3-57d383b483cd CLSID.

Members

The IVmApplicationHealthMonitor interface inherits from the IDispatch interface. IVmApplicationHealthMonitor also has these types of members:

Methods

The IVmApplicationHealthMonitor interface has these methods.

Method Description
ResetAllApplicationState Resets the health state for all applications in a virtual machine.
SetApplicationState Sets the health state of an application that is running in a virtual machine.

Remarks

To use this programming element, the Windows 8 integration components must be installed on the virtual machine that the application is running in.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Version
Integration components for Windows 8
IDL
VmApplicationHealthMonitor.idl
IID
IID_IVmApplicationHealthMonitor is defined as 267a0284-848f-447e-a096-5e10a1a76bca
Object Identifier is defined as 397a2e5f-348c-482d-b9a3-57d383b483cd