Esempio n. 1
0
 void RecordingFailed(AudioVideoCaptureDevice sender, CaptureFailedEventArgs args)
 {
     Dispatcher.BeginInvoke(delegate
     {
         txtDebug.Text = "ERROR: " + args.ErrorCode;
     });
 }
Esempio n. 2
0
 // 录像失败
 void _captureDevice_RecordingFailed(AudioVideoCaptureDevice sender, CaptureFailedEventArgs args)
 {
     this.Dispatcher.BeginInvoke(delegate()
     {
         MessageBox.Show("error: " + args.ErrorCode.ToString());
     });
 }
 // 录像失败
 void _captureDevice_RecordingFailed(AudioVideoCaptureDevice sender, CaptureFailedEventArgs args)
 {
     this.Dispatcher.BeginInvoke(delegate()
     {
         MessageBox.Show("error: " + args.ErrorCode.ToString());
     });
 }