'Finally' statements are not valid in the Immediate window

Finally statements can only be used in source code.

Error ID: BC30716

To correct this error

  • Remove Finally statements from debugging code.

See Also

Reference

Try...Catch...Finally Statement (Visual Basic)

Other Resources

Debugging in Visual Studio