Microsoft.Silverlight.Testing.Harness.CompositeWorkItem.OnUnhandledException C# (CSharp) Method

OnUnhandledException() protected method

Fire the unhandled exception event.
protected OnUnhandledException ( Exception exception ) : void
exception System.Exception Exception object.
return void
        protected virtual void OnUnhandledException(Exception exception)
        {
            // REVIEW: Should this method take the actual Exception, or the actual EventArgs for containing it?
            var handler = UnhandledException;
            if (handler != null)
            {
                handler(this, new UnhandledExceptionEventArgs(exception, false));
            }
        }