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.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
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