Click or drag to resize

IVssBackupComponentsEndRecoverSet Method

Waits for a pending asynchronous operation to complete.

Namespace:  Alphaleonis.Win32.Vss
Assembly:  AlphaVSS.Common (in AlphaVSS.Common.dll) Version: (
void EndRecoverSet(
	IAsyncResult asyncResult


Type: SystemIAsyncResult
The reference to the pending asynchronous request to finish.
ArgumentExceptionOne of the parameter values is not valid.
UnauthorizedAccessExceptionThe caller does not have sufficient backup privileges or is not an administrator.
OutOfMemoryExceptionOut of memory or other system resources.
NotImplementedExceptionThe provider for the volume does not support LUN resynchronization.
VssBadStateExceptionPossible reasons for this return value include:
  • There is no hardware provider that supports the operation.
  • The requester did not successfully add any volumes to the recovery set.
  • The method was called in WinPE or in Safe mode.
  • he caller did not call the InitializeForRestore(String) method before calling this method.
VssLegacyProviderExceptionThis version of the hardware provider does not support this operation.
VssProviderVetoExceptionAn unexpected provider error occurred. If this error code is returned, the error must be described in an entry in the application event log, giving the user information on how to resolve the problem.
VssUnselectedVolumeExceptionThe resynchronization destination contained a volume that was not explicitly included.
VssCannotRevertDiskIdExceptionThe MBR signature or GPT ID for one or more disks could not be set to the intended value. Check the Application event log for more information.
EndRecoverSet can be called once on every IVssAsyncResult from BeginRecoverSet(VssRecoveryOptions, AsyncCallback, Object).

Note Note
Windows XP, Windows 2003, Windows Vista, Windows 2008, Windows 7: This method requires Windows Server 2008 R2.

See Also