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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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