Class InteractiveLockHandler
Pass one of these to Transaction.Lock to get a GUI lock screen when locks aren't immediately available. Users will be able to abort waiting for locks which will cause your Lock() call to return false.
Implements
Inherited Members
Namespace: DesignData.SDS2.WinForms
Assembly: DesignData.SDS2.WinForms.dll
Syntax
public class InteractiveLockHandler : ILockHandler
Constructors
InteractiveLockHandler()
Pass one of these to Transaction.Lock to get a GUI lock screen when locks aren't immediately available. Users will be able to abort waiting for locks which will cause your Lock() call to return false.
Declaration
public InteractiveLockHandler()
Methods
EventLoop()
Pass one of these to Transaction.Lock to get a GUI lock screen when locks aren't immediately available. Users will be able to abort waiting for locks which will cause your Lock() call to return false.
Declaration
public bool EventLoop()
Returns
Type | Description |
---|---|
bool |
LockFailed(TableIndexHandle, string)
Pass one of these to Transaction.Lock to get a GUI lock screen when locks aren't immediately available. Users will be able to abort waiting for locks which will cause your Lock() call to return false.
Declaration
public void LockFailed(TableIndexHandle databaseItem, string userMessage)
Parameters
Type | Name | Description |
---|---|---|
TableIndexHandle | databaseItem | |
string | userMessage |
LockSucceeded(TableIndexHandle)
Pass one of these to Transaction.Lock to get a GUI lock screen when locks aren't immediately available. Users will be able to abort waiting for locks which will cause your Lock() call to return false.
Declaration
public void LockSucceeded(TableIndexHandle databaseItem)
Parameters
Type | Name | Description |
---|---|---|
TableIndexHandle | databaseItem |