简体   繁体   中英

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.Write("Exception:" + o.Reason.GetType().FullName + o.Reason.Message);
            syncEvent.Set();
        };

Does anyone has any ideas ?

尝试处理app.Aborted事件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM