ScriptBase.ScopedLock

ScriptBase.ScopedLock Class

Returned from ScriptBase.Lock(object) for use in using statements.

Syntax

public class ScriptBase.ScopedLock : IDisposable

See Also

Remarks

Do not save or store a ScopedLock outside of a using statement.

Requirements

Namespace: Sansar.Script
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0

Members

See Also: Inherited members from object.

Public Methods

 
Dispose ()
Releases the lock being held.
 
Finalize ()
Internal use only

Member Details

Dispose Method

Releases the lock being held.

Syntax

public void Dispose ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sansar.Script
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0

Finalize Method

Internal use only

Syntax

void Finalize ()

Remarks

Finalizer will not release any locks still held. Use ScopedLock only in using statements.

Requirements

Namespace: Sansar.Script
Assembly: Sansar.Script (in Sansar.Script.dll)
Assembly Versions: 1.0.0.0


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.