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.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
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