ParallelConfigIsCancelRequestedCallback Property

Gets or sets a callback that can return whether cancellation has been requested. To use a CancellationToken on .NET Framework 4.0 or later, use the appropriate constructor or the TaskConfig type with Task-returning methods.
Default value: , if the default constructor was called.

Definition

Namespace: KGySoft.Threading
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public Func<bool>? IsCancelRequestedCallback { get; set; }

Property Value

FuncBoolean

See Also