Class
CancellationRegistration
class CancellationRegistration
Module: System.Concurrency
Assembly: System.Runtime.dll
Source file: Cancellation.rvn
Inheritance: Object → CancellationRegistration
Implements: Disposable
A disposable callback registration. Disposing removes a callback that has not started.
Methods
5 items
Dispose() -> ()
Removes an unstarted callback and releases its captures; repeated disposal is harmless.
Implements Disposable.Dispose
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
ToString() -> string
Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override.
Inherited from Object.ToString