Dequeues events from the server queue and processes them on ThreadPool thread. This method takes into account the number of active worker threads before queuing events on threadpool.
Assembly: ServerAgent(in ServerAgent.dll)
|Visual Basic (declaration)|
Public Sub ProcessEventOnThreadPool
|Visual Basic (usage)|
Dim instance As ServerAgent instance. ProcessEventOnThreadPool()
public void ProcessEventOnThreadPool()
This method can be called from the application main thread, unlike ProcessEvent which is generally called on a ThreadPool thread.