| CMSThread Methods |
The CMSThread type exposes the following members.
| Name | Description | |
|---|---|---|
| Abort |
Aborts the thread execution.
| |
| AllowEmptyContext |
Allows anonymous thread to use new dedicated context in subsequent calls.
Call this method in case the anonymous thread isn't initiated from a request thread, or in case you want to start with an empty thread context on purpose.
| |
| CloseThreadContext |
Closes the thread context.
| |
| Dispose |
Disposes the thread object.
| |
| GetCurrentThreadId |
Gets the current thread ID
| |
| GetDuplicityKey |
Gets the duplicity key for the worker to eliminate duplicit queued workers.
(Inherited from AbstractWorker.) | |
| GetThread |
Finds the thread based on the given GUID.
| |
| Join |
Blocks the calling thread until a thread terminates, while continuing to perform standard COM and SendMessage pumping.
| |
| LoadTargetDelegateInfo |
Sets the target delegate information
| |
| PrepareEmptyThreadContext |
Prepares empty thread context for thread with UseEmptyContext set.
| |
| PrepareThreadContext |
Prepares the thread context
| |
| RaiseStop |
Raises OnStop event.
(Inherited from AbstractWorker.) | |
| Run |
Runs the action.
(Overrides AbstractWorkerRun.) | |
| RunAsync |
Runs the worker as a new thread. For internal purposes only, use method Start instead.
(Overrides AbstractWorkerRunAsync.) | |
| Start |
Starts the thread.
| |
| Stop |
Stops the thread execution.
| |
| WaitForSequence |
Waits for the current sequence thread to terminate
| |
| Wrap(Action, Boolean) |
Wraps the given method into CMSThread context
| |
| WrapT(ActionT, Boolean) |
Wraps the given method into CMSThread context
| |
| WrapT1, T2(ActionT1, T2, Boolean) |
Wraps the given method into CMSThread context
| |
| WrapFuncTResult(FuncTResult, Boolean) |
Wraps the given method into CMSThread context
| |
| WrapFuncT1, TResult(FuncT1, TResult, Boolean) |
Wraps the given method into CMSThread context
|
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |