Method | Description | |
---|---|---|
SwitchOffMainThreadAsync ( |
Causes the caller who awaits this method to switch off the Main thread. It has no effect if the caller is already off the main thread.
|
public static SwitchOffMainThreadAsync ( |
||
cancellationToken | The cancellation token. | |
return | TaskSchedulerAwaiter |