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.181-beta
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