TestimoX

API Reference

Enum

HyperVVirtualMachineStateChangeAction

Namespace ComputerX.HyperV
Assembly ComputerX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Defines native Hyper-V virtual machine state change actions.

Inheritance

  • Enum
  • HyperVVirtualMachineStateChangeAction

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const HyperVVirtualMachineStateChangeAction Start #

Starts or resumes the virtual machine by requesting the enabled state.

Value: 0
public const HyperVVirtualMachineStateChangeAction Shutdown #

Requests a graceful guest shutdown when integration services support it.

Value: 1
public const HyperVVirtualMachineStateChangeAction TurnOff #

Turns off the virtual machine without a guest shutdown.

Value: 2
public const HyperVVirtualMachineStateChangeAction Save #

Saves the virtual machine state.

Value: 3
public const HyperVVirtualMachineStateChangeAction Pause #

Pauses the virtual machine.

Value: 4
public const HyperVVirtualMachineStateChangeAction Resume #

Resumes a paused virtual machine by requesting the enabled state.

Value: 5
public const HyperVVirtualMachineStateChangeAction Reset #

Resets the virtual machine.

Value: 6