예제 #1
0
파일: Program.cs 프로젝트: ssickles/archive
 static void OnExceptionNotHandled(object sender, ServicesExceptionNotHandledEventArgs e)
 {
     Console.WriteLine("Unhandled Workflow Exception ");
     Console.WriteLine("  Type: " + e.GetType().ToString());
     Console.WriteLine("  Message: " + e.Exception.Message);
 }
예제 #2
0
파일: MainForm.cs 프로젝트: JuRogn/OA
 private void workflowRuntime_ServicesExceptionNotHandled(Object sender, ServicesExceptionNotHandledEventArgs e)
 {
     if (e.Exception != null)
     {
         MessageBox.Show(String.Format("Workflow {0}:\r\n\r\n{1}",
             e.WorkflowInstanceId, e.Exception));
     }
 }