Ejemplo n.º 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;
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 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();
 }
Ejemplo n.º 7
0
        public static void Unregister(this ExceptionlessClient client)
        {
            client.Shutdown();

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

            Application.Current.DispatcherUnhandledException -= OnDispatcherUnhandledException;
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 10
0
 public static void Unregister(this ExceptionlessClient client)
 {
     client.Shutdown();
 }
 public static void Unregister(this ExceptionlessClient client)
 {
     client.Shutdown();
     client.UnregisterOnProcessExitHandler();
 }
Ejemplo n.º 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>();
 }
Ejemplo n.º 14
0
 public static void UnregisterWebApi(this ExceptionlessClient client)
 {
     client.UnregisterPlugin(typeof(ExceptionlessWebApiPlugin).FullName);
     client.Shutdown();
 }