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)
Syntax
Visual Basic (declaration) |
---|
Public Sub ProcessEventOnThreadPool |
Visual Basic (usage) |
---|
Dim instance As ServerAgent instance. ProcessEventOnThreadPool() |
C# |
---|
public void ProcessEventOnThreadPool() |
Remarks
This method can be called from the application main thread, unlike ProcessEvent which is generally called on a ThreadPool thread.