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.178 -- Release Build+f8a23028fef00502c7e35bcc3934c260e8a0eb56
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