Share via


xSession.isWorkerThread Method

Definition

Determines whether the session is a worker thread.

public:
 virtual bool isWorkerThread();
public virtual bool isWorkerThread ();
abstract member isWorkerThread : unit -> bool
override this.isWorkerThread : unit -> bool
Public Overridable Function isWorkerThread () As Boolean

Returns

true if the session is a worker thread; otherwise, false.

Remarks

A worker thread is an instance of the Thread class, which creates a new instance of Finance and Operations without UI. If this method is called inside such a session, it will return true.

Applies to