private void Camera_ExposureFailed(object sender, ExposureFailedEventArgs e) { Logger.WriteTraceMessage("CameraModelDetector.Camera_Exposurefailed: message = '" + e.Message + "'"); exposureFailedEventArgs = e; boolCameraError = true; oSignalEvent.Set(); }
private void DslrCamera_ExposureFailed(object sender, ExposureFailedEventArgs e) { _cameraState = CameraStates.cameraError; LogError(e.Message, e.StackTrace); UnsubscribeCameraEvents(); }