CompatibleCancellationToken(CancellationToken) Constructor

Creates a CompatibleCancellationToken based on an existing system cancellation token.

Definition

Namespace: Gemstone.Threading.Cancellation
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.189 -- Release Build+bc0447150375c9f36275cb970e15c3b4beeb9638
public CompatibleCancellationToken(
	CancellationToken token
)

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