Click or drag to resize

OperationServiceExtensionsExecuteContinuousOperation Method

Overload List
  NameDescription
Public methodStatic memberExecuteContinuousOperation(IOperationService, ActionIOperationService)
Executes the callback function as one continuous operation by providing temporary instance of IOperationService, which holds internal locks taken on lockable entities (such as order) until the operation ends. It's strongly recommended to avoid potentially obstructive calls in the callback, i.e network calls, heavy I/O or CPU-bound calls, thread blocking and so on, because touched entities will remain locked for a long time.
Public methodStatic memberExecuteContinuousOperationT(IOperationService, FuncIOperationService, T)
Executes the callback function as one continuous operation by providing temporary instance of IOperationService, which holds internal locks taken on lockable entities (such as order) until the operation ends. It's strongly recommended to avoid potentially obstructive calls in the callback, i.e network calls, heavy I/O or CPU-bound calls, thread blocking and so on, because touched entities will remain locked for a long time.
Top
See Also