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

Boolean

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

Applies to