UI Tookit UI Tookit
UI Tookit UI Tookit
DocFX + Singulink = ♥

Search Results for

    Method RunAsBusyAndForget

    RunAsBusyAndForget(Func<Task>)

    Runs the specified task as a busy task and propagates any exceptions to the UI thread.

    Declaration
    void RunAsBusyAndForget(Func<Task> taskFunc)
    Parameters
    Type Name Description
    Func<Task> taskFunc
    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
    void RunAsBusyAndForget(Task task)
    Parameters
    Type Name Description
    Task task
    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.

    © Singulink. All rights reserved.