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.185 -- Release Build+887b2e7e6f8689bd24b3b07ac2031d4989512fbc
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