Hello all,

Is there a way I can catch and handle two different exceptions within the same exception type? For example:

Code:
Try

' My code

Catch ex As System.Net.WebException
 
End Try
I have 2 different exceptions that are System.Net.WebException. I want to handle them different ways. Problem is the catch block above catches them both. Is there a way I can determine if which of the two it is and handle them differently?

Thanks,

Strick