Kill Process excel question

Following the above article, i am trying to capture exception from Kill process Excel in a global exception handler with this if condition.

errorInfo.RetryCount < 1 AndAlso errorInfo.Exception.Message.Contains(“Encountered errors while trying to kill a process”)

Exception:
image

It is not working out. can you help please? thank you

@A_Learner

May be retry count try with <=1

Also check the message by printing it using log message and verify

Cheers

1 Like