CancellationToken.Register
returns a CancellationTokenRegistration
instance. If you call Dispose
on that instance, your registration will be removed.
CancellationToken.Register
returns a CancellationTokenRegistration
instance. If you call Dispose
on that instance, your registration will be removed.