Expression::Catch Method
Creates a CatchBlock representing a catch statement.
Assembly: System.Core (in System.Core.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Catch(ParameterExpression^, Expression^) | Creates a CatchBlock representing a catch statement with a reference to the caught Exception object for use in the handler body. |
![]() ![]() | Catch(ParameterExpression^, Expression^, Expression^) | Creates a CatchBlock representing a catch statement with an Exception filter and a reference to the caught Exception object. |
![]() ![]() | Catch(Type^, Expression^) | Creates a CatchBlock representing a catch statement. |
![]() ![]() | Catch(Type^, Expression^, Expression^) | Creates a CatchBlock representing a catch statement with an Exception filter but no reference to the caught Exception object. |

