When

Adds a conditional test to a Catch statement.

Remarks

The When keyword can be used in this context:

Try...Catch...Finally Statement

See Also

Reference

Visual Basic Language Keywords