CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
|
Represents a registration for a cancellation token callback. More...
#include <cancellation_token.h>
Public Member Functions | |
void | Dispose () |
Disposes the registration and removes the callback from the associated CancellationTokenSource. After calling this method, the registered callback will no longer be invoked when the associated CancellationTokenSource is canceled. More... | |
Represents a registration for a cancellation token callback.
This class allows for the deregistration of a callback from a cancellation token. When disposed, it removes the callback from the associated CancellationTokenSource.
void System::Threading::CancellationTokenRegistration::Dispose | ( | ) |
Disposes the registration and removes the callback from the associated CancellationTokenSource. After calling this method, the registered callback will no longer be invoked when the associated CancellationTokenSource is canceled.