Click or drag to resize

ManagedCancellationTokenSource(Func<CancellationTokenSource> ) Constructor

Creates a new instance of the ManagedCancellationTokenSource class.

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

Parameters

cancellationTokenSourceFactory  Func<CancellationTokenSource>
Factory function for instantiating the underlying CancellationTokenSource.
See Also