Visual Basic Reference
Cancels an asynchronous data request.
The CancelAsyncRead method syntax has these parts:
|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.|
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.