Microsoft.Silverlight.Testing.Harness.CompositeWorkItem.OnUnhandledException C# (CSharp) Méthode

OnUnhandledException() protected méthode

Fire the unhandled exception event.
protected OnUnhandledException ( Exception exception ) : void
exception System.Exception Exception object.
Résultat 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));
            }
        }