Expression.TryFault(Expression, Expression) Expression.TryFault(Expression, Expression) Expression.TryFault(Expression, Expression) Expression.TryFault(Expression, Expression) Method

定義

fault ブロックを指定し、catch ステートメントを指定せずに、try ブロックを表す TryExpression を作成します。Creates a TryExpression representing a try block with a fault block and no catch statements.

public:
 static System::Linq::Expressions::TryExpression ^ TryFault(System::Linq::Expressions::Expression ^ body, System::Linq::Expressions::Expression ^ fault);
public static System.Linq.Expressions.TryExpression TryFault (System.Linq.Expressions.Expression body, System.Linq.Expressions.Expression fault);
static member TryFault : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.TryExpression
Public Shared Function TryFault (body As Expression, fault As Expression) As TryExpression

パラメーター

body
Expression Expression Expression Expression

try ブロックの本体。The body of the try block.

fault
Expression Expression Expression Expression

fault ブロックの本体。The body of the fault block.

戻り値

適用対象