Click or drag to resize

IVssBackupComponentsEndDoSnapshotSet Method

Waits for a pending asynchronous operation to complete.

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

Parameters

asyncResult
Type: SystemIAsyncResult
The reference to the pending asynchronous request to finish.
Exceptions
ExceptionCondition
UnauthorizedAccessExceptionThe caller does not have sufficient backup privileges or is not an administrator.
OutOfMemoryExceptionOut of memory or other system resources.
SystemExceptionUnexpected VSS system error. The error code is logged in the event log.
VssBadStateExceptionThe backup components object has not been initialized or the prerequisite calls for a given shadow copy context have not been made prior to calling DoSnapshotSet.
VssInsufficientStorageExceptionThe system or provider has insufficient storage space. If possible delete any old or unnecessary persistent shadow copies and try again.
VssFlushWritesTimeoutExceptionThe system was unable to flush I/O writes. This can be a transient problem. It is recommended to wait ten minutes and try again, up to three times.
VssHoldWritesTimeoutExceptionThe system was unable to hold I/O writes. This can be a transient problem. It is recommended to wait ten minutes and try again, up to three times.
VssProviderVetoExceptionThe provider was unable to perform the request at this time. This can be a transient problem. It is recommended to wait ten minutes and try again, up to three times.
VssRebootRequiredException

The provider encountered an error that requires the user to restart the computer.

Windows Server 2003 and Windows XP: This value is not supported until Windows Vista.

VssTransactionFreezeTimeoutException

The system was unable to freeze the Distributed Transaction Coordinator (DTC) or the Kernel Transaction Manager (KTM).

Windows Server 2003 and Windows XP: This value is not supported until Windows Vista.

VssTransactionThawTimeoutException

The system was unable to freeze the Distributed Transaction Coordinator (DTC) or the Kernel Transaction Manager (KTM).

Windows Server 2003 and Windows XP: This value is not supported until Windows Vista.

VssUnexpectedProviderErrorExceptionThe provider returned an unexpected error code. This can be a transient problem. It is recommended to wait ten minutes and try again, up to three times.
Remarks
EndDoSnapshotSet can be called once on every IVssAsyncResult from BeginDoSnapshotSet(AsyncCallback, Object).
See Also