This method processes events from the internal message queue.
[VB.NET] Public Function DoEventsAsync() As Task
[C#] public Task DoEventsAsync();