Condividi tramite


DataAsyncCommand.Cancel Method

Definition

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.

Applies to