예제 #1
0
 /// <summary>
 /// Event handler for the <see cref="Pipeline.PipelineExceptionNotHandled"/> event.
 /// </summary>
 /// <param name="sender">The sender which raised the event.</param>
 /// <param name="e">The pipeline exception event arguments.</param>
 private static void Pipeline_PipelineException(object sender, PipelineExceptionNotHandledEventArgs e)
 {
     Console.WriteLine(e.Exception);
 }
예제 #2
0
 /// <summary>
 /// <see cref="Pipeline_PipelineException"/> is called to handle exceptions thrown during pipeline execution.
 /// </summary>
 /// <param name="sender">Object that sent this event.</param>
 /// <param name="e">Pipeline exception event arguments. Primarily used to get any pipeline errors back.</param>
 private void Pipeline_PipelineException(object sender, PipelineExceptionNotHandledEventArgs e)
 {
     MessageBox.Show("Error! " + e.Exception.Message);
 }