GetErrorEx method of the Msvm_CollectionReferencePointExportJob class
Retrieves additional information about an error. When the job is executing or has terminated without error, GetErrorEx returns no Msvm_Error instance. However, if the job has failed because of some internal problem or because the job has been terminated by a client, then GetErrorEx returns one or more Msvm_Error instances.
Syntax
uint32 GetErrorEx(
[out] string Errors[]
);
Parameters
-
Errors [out]
-
If the operational status of the job is not "OK", this parameter returns an array of Msvm_Error instances. Otherwise, if the job is "OK", this parameter contains NULL.
Return value
On success, returns 0; otherwise, returns one of the following error values:
-
Completed with No Error (0)
-
Failed (32768)
-
Access Denied (32769)
-
Not Supported (32770)
-
Status is unknown (32771)
-
Timeout (32772)
-
Invalid parameter (32773)
-
System is in used (32774)
-
Invalid state for this operation (32775)
-
Incorrect data type (32776)
-
System is not available (32777)
-
Out of memory (32778)
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 10, version 1703 [desktop apps only] |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\virtualization\v2 |
MOF |
|
DLL |
|