private void OnCaptureFailed(object sender, ExceptionRoutedEventArgs e) { // Recording failed :/ // In a good app, it would probably show an error message and log the error etc. System.Diagnostics.Debug.WriteLine("Failed"); }