AsyncRelayCommand<T>.Cancel Method

Definition

Communicates a request for cancelation.

public void Cancel ();
abstract member Cancel : unit -> unit
override this.Cancel : unit -> unit
Public Sub Cancel ()

Implements

Remarks

If the underlying command is not running, or if it does not support cancelation, this method will perform no action. Note that even with a successful cancelation, the completion of the current operation might not be immediate.

Applies to