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.ThreadingAssembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
Parameters
- lockObject
- Type: System Object
The object that shall be used to lock on
Return Value
Type: IDisposableA disposable object which releases the lock when disposed.
Version Information
Obsolete (compiler warning) in 6.5
Obsolete (compiler warning) in 6.0
Obsolete (compiler warning) in 5.5
Obsolete (compiler warning) in 5.0
See Also