SuspendableObjectSuspendGetToken Method |
Increase the SuspendLevel by one, and return a token that, if disposed, will resume the object.
Namespace: Altaxo.MainAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public ISuspendToken SuspendGetToken()
Return Value
ISuspendTokenA token, which must be handed to the resume function to decrease the suspend level. Alternatively,
the object can be used in an using statement. In this case, the call to the Resume function is not neccessary.
Implements
ISuspendableByTokenSuspendGetTokenSee Also