Skip to content

Instantly share code, notes, and snippets.

@AnthonyDGreen
Created February 1, 2019 22:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save AnthonyDGreen/b93adcf3c3705e4768dcab0b05b187a0 to your computer and use it in GitHub Desktop.
Module Program
Sub Main()
Dim retryCount = 0
Try
Retry:
' IO call.
Catch ex As IO.IOException When retryCount < 3
retryCount += 1
GoTo Retry
End Try
End Sub
End Module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment