G
Guest
I have a generic catch block for exceptions of type Exception
Once inside the block I would like to know if my exception is of type
System.Data.SqlClient.SqlException. Actually I would like to pass the
variable of type Exception to a generic error handler, where I need to know
the specific Exception.
I need to find a something like 'Is Type' or something like that.
Once inside the block I would like to know if my exception is of type
System.Data.SqlClient.SqlException. Actually I would like to pass the
variable of type Exception to a generic error handler, where I need to know
the specific Exception.
I need to find a something like 'Is Type' or something like that.