Exemple #1
0
 /// <summary>
 /// Unregisters platform specific exception handlers.
 /// </summary>
 /// <param name="client">The ExceptionlessClient.</param>
 public static void Unregister(this ExceptionlessClient client)
 {
     client.Shutdown();
     client.UnregisterOnProcessExitHandler();
     client.SubmitSessionEnd();
     client.ProcessQueue();
 }
        public static void Unregister(this ExceptionlessClient client)
        {
            client.Shutdown();
            client.UnregisterApplicationThreadExceptionHandler();

            client.SubmittingEvent -= OnSubmittingEvent;
        }
        public static void Unregister(this ExceptionlessClient client)
        {
            client.Shutdown();

            client.UnhandledExceptionReporting -= UnhandledExceptionReporting;

            Application.ThreadException -= OnApplicationThreadException;
        }
Exemple #4
0
        /// <summary>
        /// Unregisters platform specific exception handlers.
        /// </summary>
        /// <param name="client">The ExceptionlessClient.</param>
        public static void Unregister(this ExceptionlessClient client)
        {
            client.Shutdown();
            client.UnregisterApplicationThreadExceptionHandler();
            client.UnregisterApplicationDispatcherUnhandledExceptionHandler();
            client.UnregisterOnProcessExitHandler();

            client.SubmittingEvent -= OnSubmittingEvent;
        }
Exemple #5
0
        /// <summary>
        /// Unregisters platform specific exception handlers.
        /// </summary>
        /// <param name="client">The ExceptionlessClient.</param>
        public static void UnregisterWebApi(this ExceptionlessClient client)
        {
            if (client == null)
            {
                throw new ArgumentNullException(nameof(client));
            }

            client.Shutdown();
            client.Configuration.RemovePlugin <ExceptionlessWebApiPlugin>();
        }
 /// <summary>
 /// Unregisters platform specific exception handlers.
 /// </summary>
 /// <param name="client">The ExceptionlessClient.</param>
 public static void Unregister(this ExceptionlessClient client)
 {
     client.Shutdown();
     client.UnregisterOnProcessExitHandler();
     if (client.Configuration.SessionsEnabled)
     {
         client.SubmitSessionEnd();
     }
     client.ProcessQueue();
 }
Exemple #7
0
        public static void Unregister(this ExceptionlessClient client)
        {
            client.Shutdown();

            if (Application.Current == null)
            {
                return;
            }

            Application.Current.DispatcherUnhandledException -= OnDispatcherUnhandledException;
        }
Exemple #8
0
        /// <summary>
        /// Unregisters platform specific exception handlers.
        /// </summary>
        /// <param name="client">The ExceptionlessClient.</param>
        public static void Unregister(this ExceptionlessClient client)
        {
            client.Shutdown();
            client.UnregisterApplicationThreadExceptionHandler();
            client.UnregisterOnProcessExitHandler();

            client.SubmittingEvent -= OnSubmittingEvent;

            client.SubmitSessionEnd();
            client.ProcessQueue();
        }
        /// <summary>
        /// Unregisters platform specific exception handlers.
        /// </summary>
        /// <param name="client">The ExceptionlessClient.</param>
        public static void Unregister(this ExceptionlessClient client)
        {
            if (client == null)
            {
                throw new ArgumentNullException(nameof(client));
            }

            client.Shutdown();
            client.UnregisterApplicationThreadExceptionHandler();

            client.SubmittingEvent -= OnSubmittingEvent;
        }
Exemple #10
0
 public static void Unregister(this ExceptionlessClient client)
 {
     client.Shutdown();
 }
 public static void Unregister(this ExceptionlessClient client)
 {
     client.Shutdown();
     client.UnregisterOnProcessExitHandler();
 }
Exemple #12
0
 /// <summary>
 /// Unregisters platform specific exception handlers.
 /// </summary>
 /// <param name="client">The ExceptionlessClient.</param>
 public static void UnregisterNancy(this ExceptionlessClient client)
 {
     client.Shutdown();
     client.Configuration.RemovePlugin <ExceptionlessNancyPlugin>();
 }
 public static void UnregisterNancy(this ExceptionlessClient client)
 {
     client.Shutdown();
     client.Configuration.RemoveEnrichment <ExceptionlessNancyEnrichment>();
 }
Exemple #14
0
 public static void UnregisterWebApi(this ExceptionlessClient client)
 {
     client.UnregisterPlugin(typeof(ExceptionlessWebApiPlugin).FullName);
     client.Shutdown();
 }