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.3572.0 (4.8.3572.0)
Syntaxpublic 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 a
using statement. In this case, the call to the resume function is not necessary.
Implements
ISuspendableByTokenSuspendGetToken
See Also