Locks the object.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Overrides Sub Lock
public override void Lock()
After calling this method this object is not accessible from any other thread (until Unlock() is called). You can safely check Locked property to ensure if object is locked.
When you access the object which has been locked, the thread stops and waits until it become unlocked. Using property Timeout you can specify how much time to wait.