Exemplo n.º 1
0
 public void Invoke(WorkflowSchedulerService service)
 {
     try
     {
         WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "Running workflow {0}", new object[] { this.state });
         this.Callback(this.state);
     }
     catch (Exception exception)
     {
         if (WorkflowExecutor.IsIrrecoverableException(exception))
         {
             throw;
         }
         service.RaiseExceptionNotHandledEvent(exception, (Guid)this.state);
     }
 }
 public void Invoke(WorkflowSchedulerService service)
 {
     try
     {
         WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "Running workflow {0}", state);
         Callback(state);
     }
     catch (Exception e)
     {
         if (WorkflowExecutor.IsIrrecoverableException(e))
         {
             throw;
         }
         else
         {
             service.RaiseExceptionNotHandledEvent(e, (Guid)state);
         }
     }
 }
 public void Invoke(WorkflowSchedulerService service)
 {
     try
     {
         WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "Running workflow {0}", new object[] { this.state });
         this.Callback(this.state);
     }
     catch (Exception exception)
     {
         if (WorkflowExecutor.IsIrrecoverableException(exception))
         {
             throw;
         }
         service.RaiseExceptionNotHandledEvent(exception, (Guid) this.state);
     }
 }
 public void Invoke(WorkflowSchedulerService service)
 {
     try
     {
         WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "Running workflow {0}", state);
         Callback(state);
     }
     catch (Exception e)
     {
         if (WorkflowExecutor.IsIrrecoverableException(e))
         {
             throw;
         }
         else
         {
             service.RaiseExceptionNotHandledEvent(e, (Guid)state);
         }
     }
 }