Click or drag to resize

SuspendableObjectSuspendGetToken Method

Increase the SuspendLevel by one, and return a token that, if disposed, will resume the object.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public ISuspendToken SuspendGetToken()

Return Value

ISuspendToken
A 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

ISuspendableByTokenSuspendGetToken
See Also