Méthode | Description | |
---|---|---|
SwitchToMainThreadAsync ( ) : IAwaitable |
Switch to the UI thread using ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync Auto-disables switching when running in unit test mode
|
|
SwitchToPoolThreadAsync ( |
Switch to a thread pool background thread if the current thread isn't one, otherwise does nothing Auto-disables switching when running in unit test mode
|
public static SwitchToMainThreadAsync ( ) : IAwaitable | ||
Résultat | IAwaitable |
public static SwitchToPoolThreadAsync ( |
||
scheduler | ||
Résultat | IAwaitable |