Click or drag to resize

ManagedCancellationTokenSource(FuncCancellationTokenSource) Constructor

Creates a new instance of the ManagedCancellationTokenSource class.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
Syntax
public ManagedCancellationTokenSource(
	Func<CancellationTokenSource> cancellationTokenSourceFactory
)
View Source

Parameters

cancellationTokenSourceFactory  FuncCancellationTokenSource
Factory function for instantiating the underlying CancellationTokenSource.
See Also