Microsoft.Ccr.Core.Dispatcher.TaskDone C# (CSharp) Method

TaskDone() private method

private TaskDone ( ITask task, Exception e ) : void
task ITask
e System.Exception
return void
        internal void TaskDone(ITask task, Exception e)
        {
            Interlocked.Increment (ref processedTasks);
            if (e != null) {
                if (UnhandledException != null)
                    UnhandledException (this, new UnhandledExceptionEventArgs (e, false));
                var port = UnhandledExceptionPort;
                if (port != null)
                    port.Post (e);
            }
        }