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.3572.0 (4.8.3572.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 a using statement. In this case, the call to the resume function is not necessary.

Implements

ISuspendableByTokenSuspendGetToken
See Also