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.
Namespace: KGySoft.ThreadingAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public Func<bool>? IsCancelRequestedCallback { get; set; }
Public Property IsCancelRequestedCallback As Func(Of Boolean)
Get
Set
public:
property Func<bool>^ IsCancelRequestedCallback {
Func<bool>^ get ();
void set (Func<bool>^ value);
}
member IsCancelRequestedCallback : Func<bool> with get, set
Property Value
FuncBoolean