Method ExecuteCommandInDebuggerThreadAndMarshalException
ExecuteCommandInDebuggerThreadAndMarshalException(Action)
Executes action in the UI thread; in case action throws exception, it's handled in the UI thread as well.
public Task ExecuteCommandInDebuggerThreadAndMarshalException(Action action)
Parameters
action
ActionAction to be executed.
Returns
- Task
Task containing result of execution.