Click or drag to resize

CompatibleCancellationToken(CancellationToken) Constructor

Creates a CompatibleCancellationToken based on an existing system cancellation token.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.260-beta+dcb224c2c063d13b940ff73569ed74de55e231c9
Syntax
public CompatibleCancellationToken(
	CancellationToken token
)
View Source

Parameters

token  CancellationToken
Existing system token.
Remarks
A CompatibleCancellationToken created from an existing system cancellation token cannot be cancelled since the source for the provided token will not be available.
See Also