Example #1
0
 protected override ProgressToken OnShutdownAsync()
 {
     return(VirtualMachineProxy.Shutdown(ShutdownType.SaveState));
 }
Example #2
0
 protected override ProgressToken OnShutdownAsync()
 {
     return(new ACPITimeoutProgressToken(VirtualMachineProxy.Shutdown(ShutdownType.ACPI), ACPIShutdownTimeoutMilliSeconds));
 }