private static TaskScheduler_UnobservedTaskException ( object sender, UnobservedTaskExceptionEventArgs e ) : void | ||
sender | object | |
e | UnobservedTaskExceptionEventArgs | |
리턴 | void |
private static void TaskScheduler_UnobservedTaskException(object sender, UnobservedTaskExceptionEventArgs e)
{
if (e.Exception != null)
{
_client.Send(e.Exception);
if (_client._reporter != null)
{
WriteExceptionInformation (_client._reporter.NextReportUUID, e.Exception);
}
}
}