編輯

共用方式為


IAsyncRelayCommand.Cancel Method

Definition

Communicates a request for cancelation.

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

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