Editar

Compartilhar via


IInvokable.TryCancel Method

Definition

Tries to cancel the invocation.

public virtual bool TryCancel();
abstract member TryCancel : unit -> bool
override this.TryCancel : unit -> bool
Public Overridable Function TryCancel () As Boolean

Returns

true if cancellation was requested, otherwise false.

Remarks

This is only valid after SetTarget(ITargetHolder) has been called, and only has an effect for requests which support cancellation.

Applies to