Export (0) Print
Expand All
Expand Minimize

Expression.TryFinally Method

Creates a TryExpression representing a try block with a finally block and no catch statements.

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

public static TryExpression TryFinally(
	Expression body,
	Expression finally
)

Parameters

body
Type: System.Linq.Expressions.Expression
The body of the try block.
finally
Type: System.Linq.Expressions.Expression
The body of the finally block.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft