Will the Finally block work if Throw is used in Catch section?

Hi,

Unfortunately, No, finally block doesn’t execute in this case. It’s specification of Try-Catch activity. This activity is made by Microsoft and document says

The activities in the Finally section are executed when either the Try section or the Catches section successfully completes.

Please see the following document in detail.

Regards,

1 Like