EventArgs for exceptions which are swallowed by HockeyApp
Inheritance: System.EventArgs
Beispiel #1
0
        /// <summary>
        /// Handle Exceptions that are swallowed because we don't want our SDK crash other apps
        /// For internal use by platform SDKs
        /// </summary>
        /// <param name="unhandledException">the exception to propagate</param>
        public void HandleInternalUnhandledException(Exception unhandledException)
        {
            logger.Error(unhandledException);
            var args = new InternalUnhandledExceptionEventArgs()
            {
                Exception = unhandledException
            };

            OnHockeySDKInternalException?.Invoke(this, args);
        }
 /// <summary>
 /// Handle Exceptions that are swallowed because we don't want our SDK crash other apps
 /// For internal use by platform SDKs
 /// </summary>
 /// <param name="unhandledException">the exception to propagate</param>
 public void HandleInternalUnhandledException(Exception unhandledException)
 {
     logger.Error(unhandledException);
     var args = new InternalUnhandledExceptionEventArgs() { Exception = unhandledException };
     OnHockeySDKInternalException?.Invoke(this, args);
 }