Visual Basic Reference

AsyncReadComplete Event

See Also    Example    Applies To

Occurs when the container has completed an asynchronous read request.

Syntax

Subobject_AsyncReadComplete(AsyncPropAs AsyncProperty)

The AsyncReadComplete event syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
AsyncProp An AsyncProperty object.

Remarks

The value in AsyncProp specifies the particular asynchronous data read request that has completed, and matches the value given in a previous AsyncRead method invocation.

Error handling code should be placed in the AsyncReadComplete event procedure, because an error condition may have stopped the download. If this was the case, that error will be raised when the Value property of the AsyncProperty object is accessed.