开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜