DataAsyncCommand.Cancel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Cancel() |
Cancels the asynchronous call, returning immediately. |
Cancel(Boolean) |
Cancels the asynchronous call, returning either immediately (asynchronously) or after waiting for the call to be fully cancelled (synchronously). |
Cancel()
Cancels the asynchronous call, returning immediately.
public:
void Cancel();
public void Cancel ();
member this.Cancel : unit -> unit
Public Sub Cancel ()
Applies to
Cancel(Boolean)
Cancels the asynchronous call, returning either immediately (asynchronously) or after waiting for the call to be fully cancelled (synchronously).
public:
abstract void Cancel(bool waitForEnd);
public abstract void Cancel (bool waitForEnd);
abstract member Cancel : bool -> unit
Public MustOverride Sub Cancel (waitForEnd As Boolean)
Parameters
- waitForEnd
- Boolean
Boolean flag indicating whether or not to wait for the call to be fully cancelled before returning.