Method RunAsBusyAndForget
RunAsBusyAndForget(Func<Task>)
Runs the specified task as a busy task and propagates any exceptions to the UI thread.
Declaration
public void RunAsBusyAndForget(Func<Task> taskFunc)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<Task> | taskFunc |
Implements
Remarks
This method does not force the task to run on the UI thread if it is called from a non-UI thread, but unhandled exceptions from the task will be propagated to the UI thread. If this method is expected to be called from a non-UI thread, the SendAsync(Action) method can be used to synchronize some (or all) of the execution to the UI thread.
RunAsBusyAndForget(Task)
Runs the specified task as a busy task and propagates any exceptions to the UI thread.
Declaration
public void RunAsBusyAndForget(Task task)
Parameters
| Type | Name | Description |
|---|---|---|
| Task | task |
Implements
Remarks
This method does not force the task to run on the UI thread if it is called from a non-UI thread, but unhandled exceptions from the task will be propagated to the UI thread. If this method is expected to be called from a non-UI thread, the SendAsync(Action) method can be used to synchronize some (or all) of the execution to the UI thread.