大网数据广告活动
Hyper-V与虚拟化

IVmApplicationHealthMonitor interface

· 52CE 我爱测

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.

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

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。