Share via


VMTaskResult enumeration

The VMTaskResult enumeration specifies the result of a task.

Syntax

typedef enum  { 
  vmTaskResult_Success                      = 0,
  vmTaskResult_Cancelled                    = 1,
  vmTaskResult_UnexpectedError              = 2,
  vmTaskResult_OutOfMemoryError             = 3,
  vmTaskResult_DiskRelatedError             = 4,
  vmTaskResult_IncompatibleSavedStateError  = 5,
  vmTaskResult_TimeOutError                 = 6,
  vmTaskResult_IllegalValueError            = 7,
  vmTaskResult_ThreadCrashError             = 8
} VMTaskResult;

Constants

vmTaskResult_Success

The task completed normally.

vmTaskResult_Cancelled

The task was canceled.

vmTaskResult_UnexpectedError

The task aborted due to an unexpected error.

vmTaskResult_OutOfMemoryError

The task aborted because there was insufficient memory to complete the task.

vmTaskResult_DiskRelatedError

The task aborted because a disk write error occurred (insufficient disk space or other write error).

vmTaskResult_IncompatibleSavedStateError

The task aborted because the virtual machine could not restore (the saved state was incompatible).

vmTaskResult_TimeOutError

The task aborted because the timeout specified had expired.

vmTaskResult_IllegalValueError

The task aborted because an illegal preference value was read while the task was processing.

vmTaskResult_ThreadCrashError

The task aborted because a thread associated with the task crashed.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h