MapControl.WaitForBackgroundThreadEvents Method
This element is not available using the selected API.
This element is not available using the selected API.
In this article
Disconnects the MapControl from event handlers and waits until any pending events from background threads have been handled.
The Thread Access Verifier will enforce this rule when it is active.
protected:
void waitForBackgroundThreadEvents ()
Subclasses that inherit directly from MapControl should always implement a destructor and, as the first statement in the destructor, call waitForBackgroundThreadEvents. This will halt the destruction of the control until any pending events from background threads have been handled and ensures that the control does not receive any new events while it is being destroyed.
Windows, Linux, Android
In this article
This element is not available using the selected API.
In this article
This element is not available using the selected API.
In this article