ParallelConfig(CancellationToken) Constructor

Initializes a new instance of the ParallelConfig class initializing the IsCancelRequestedCallback property from a CancellationToken.
This constructor is available only for .NET Framework 4.0 and later.

Definition

Namespace: KGySoft.Threading
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public ParallelConfig(
	CancellationToken cancellationToken
)

Parameters

cancellationToken  CancellationToken
Specifies the cancellation token for this operation.

See Also