Export (0) Print
Expand All

Visual Basic Reference

Visual Studio 6.0

CancelAsyncRead Method

See Also    Example    Applies To

Cancels an asynchronous data request.

Syntax

object.CancelAsyncRead [PropertyName]

The CancelAsyncRead method syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
PropertyName An optional string expression specifying the name of the asynchronous data request to cancel.

Remarks

Only the asynchronous data read request specified by PropertyName is canceled; all others continue normally.

The value in PropertyName specifies the particular asynchronous data read request to cancel, and should match the value given in a previous AsyncRead method invocation. If PropertyName is not given, then the last AsyncRead method invocation that did not give a PropertyName will be canceled.

Show:
© 2014 Microsoft