GrainCancellationTokenSource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An analogue to CancellationTokenSource which can be sent between grains.
public sealed class GrainCancellationTokenSource : IDisposable
type GrainCancellationTokenSource = class
interface IDisposable
Public NotInheritable Class GrainCancellationTokenSource
Implements IDisposable
- Inheritance
-
GrainCancellationTokenSource
- Implements
Constructors
GrainCancellationTokenSource() |
Initializes the GrainCancellationTokenSource. |
Properties
IsCancellationRequested |
Gets a value indicating whether cancellation has been requested. |
Token |
Gets the CancellationToken associated with this GrainCancellationTokenSource. |
Methods
Cancel() |
Communicates a request for cancellation. |
Dispose() |
Releases the resources used by this Orleans.Async.GrainCancellationTokenSource. |