WorkingThread.Verify Method
Check whether the current working thread should be terminated. Throws an exception if that is required.
If
AbortRequested flag is present in the result then the caller code
must perform termination of the thread. This never happens when
allowException
is
true because in that case an exception is thrown by this method.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
public static WorkingThreadState Verify(
bool allowException = true
)
Public Shared Function Verify (
Optional allowException As Boolean = true
) As WorkingThreadState
public:
static WorkingThreadState Verify(
bool allowException = true
)
static member Verify :
?allowException : bool
-> WorkingThreadState
- allowException Boolean (Optional)
-
Determines whether an exception is thrown by this method in order to terminate evaluation.
WorkingThreadState
A
WorkingThreadState value describing the current state of the worker thread.