Workflow foundation: Get the termination reason in Asp .net
Is there any way to get the Termination Reason that is inserted into the TerminateWorkflow activity inside an ASP .NET application?. For example the following doesnt works.
app.Completed =(e) =>
{
HttpContext.Current.Response.Wri开发者_如何学运维te("Exception:" + o.Reason.GetType().FullName + o.Reason.Message);
syncEvent.Set();
};
Does anyone has any ideas ?
Try handling the app.Aborted event instead.
精彩评论