SafeMonitor Lock Method TIBCO Spotfire 6.0 API Reference
Creates a lock that will work on the UI-thread as well as on background threads. It must be called within a using-statement to assure that the Monitor is exited.

Namespace: Spotfire.Dxp.Framework.Threading
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

[ObsoleteAttribute("Use lock instead.")]
public static IDisposable Lock(
	Object lockObject
)

Parameters

lockObject
Type: System Object
The object that shall be used to lock on

Return Value

Type: IDisposable
A disposable object which releases the lock when disposed.
See Also