Catch Method
TOC
Collapse the table of content
Expand the table of content

Expression.Catch Method

.NET Framework (current version)
 

Creates a CatchBlock representing a catch statement.

Namespace:   System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCatch(ParameterExpression, Expression)

Creates a CatchBlock representing a catch statement with a reference to the caught Exception object for use in the handler body.

System_CAPS_pubmethodSystem_CAPS_staticCatch(ParameterExpression, Expression, Expression)

Creates a CatchBlock representing a catch statement with an Exception filter and a reference to the caught Exception object.

System_CAPS_pubmethodSystem_CAPS_staticCatch(Type, Expression)

Creates a CatchBlock representing a catch statement.

System_CAPS_pubmethodSystem_CAPS_staticCatch(Type, Expression, Expression)

Creates a CatchBlock representing a catch statement with an Exception filter but no reference to the caught Exception object.

Return to top
Show:
© 2016 Microsoft