AffdexMe.MainWindow.ShowExceptionAndShutDown C# (CSharp) Метод

ShowExceptionAndShutDown() приватный Метод

Displays a alert with exception details
private ShowExceptionAndShutDown ( String exceptionMessage ) : void
exceptionMessage String contains the exception details.
Результат void
        private void ShowExceptionAndShutDown(String exceptionMessage)
        {
            MessageBoxResult result = MessageBox.Show(exceptionMessage,
                                                        "AffdexMe Error",
                                                        MessageBoxButton.OK,
                                                        MessageBoxImage.Error);
            this.Dispatcher.BeginInvoke((Action)(() =>
            {
                StopCameraProcessing();
                ResetDisplayArea();
            }));
        }