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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public ManagedCancellationTokenSource(
	Func<CancellationTokenSource> cancellationTokenSourceFactory
)
View Source

Parameters

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