Task.completed Event Follow

0
Avatar
Legacy Poster

Hi all,

 

I'm seeking verification on when the Task.Completed event fires.

 

Does it fire on all task completions, even if an error is encountered?

 

Thanks

 

 

2 comments

0
Avatar
Michael Toupin (mtoupin
Comment actions Permalink

A task is considered complete when the Task.Status property indicates the task has successfully run, encountered an error, or is aborted. So yes, it's on all task completions, regardless of the outcome of the task process.

0
Avatar
Legacy Poster
Comment actions Permalink

Thank you for your answer Mike.

:)

Please sign in to leave a comment.