Click or drag to resize
IVssBackupComponentsBeginPostRestore Method
The BeginPostRestore(AsyncCallback, Object) method will asynchronously cause VSS to generate a PostRestore event, signaling writers that the current restore operation has finished.

Namespace: Alphaleonis.Win32.Vss
Assembly: AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
IVssAsyncResult BeginPostRestore(
	AsyncCallback userCallback,
	Object state
)

Parameters

userCallback
Type: SystemAsyncCallback
An optional asynchronous callback, to be called when the read is complete.
state
Type: SystemObject
A user-provided object that distinguishes this particular asynchronous read request from other requests.

Return Value

Type: IVssAsyncResult
An IVssAsyncResult instance that represents this asynchronous operation.
Remarks

Pass the IVssAsyncResult value returned to the EndPostRestore(IAsyncResult) method to release operating system resources used for this asynchronous operation. EndPostRestore(IAsyncResult) must be called once for every call to BeginPostRestore(AsyncCallback, Object). You can do this either by using the same code that called BeginPostRestore or in a callback passed to BeginPostRestore.

See Also