Click or drag to resize

IVssBackupComponentsBeginGatherWriterMetadata Method

The BeginGatherWriterMetadata(AsyncCallback, Object) method asynchronously prompts each writer to send the metadata they have collected. The method will generate an Identify event to communicate with writers.

Namespace:  Alphaleonis.Win32.Vss
Assembly:  AlphaVSS.Common (in AlphaVSS.Common.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
IVssAsyncResult BeginGatherWriterMetadata(
	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

BeginGatherWriterMetadata(AsyncCallback, Object) should be called only once during the lifetime of a given IVssBackupComponents object.

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

See Also