Expression.TryFault Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a TryExpression representing a try block with a fault block and no catch statements.
Assembly: System.Core (in System.Core.dll)
'Declaration Public Shared Function TryFault ( _ body As Expression, _ fault As Expression _ ) As TryExpression
Parameters
- body
- Type: System.Linq.Expressions.Expression
The body of the try block.
- fault
- Type: System.Linq.Expressions.Expression
The body of the fault block.
Show: