Edit

Share via


NativeActivityContext.IsCancellationRequested Property

Definition

Gets or sets a value that indicates whether the currently executing NativeActivity instance is to be canceled.

public:
 property bool IsCancellationRequested { bool get(); };
public bool IsCancellationRequested { get; }
member this.IsCancellationRequested : bool
Public ReadOnly Property IsCancellationRequested As Boolean

Property Value

true if the currently executing NativeActivity instance is to be canceled; otherwise, false.

Applies to