Browse Source
The code suggested by the user makes sense to me. Reproed issue with
` try
{
var ctx = SynchronizationContext.Current;
await Task.Run(() => ctx.Send(state => throw new ArgumentException("hello"), null));
}
catch (ArgumentException ex)
{
Console.WriteLine(ex.Message);
}
catch (AggregateException ex)
{
Console.WriteLine(ex.Message);
}` this code
pull/6464/head
committed by
GitHub
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue