Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Expression::Catch Method

 

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:
© 2017 Microsoft