Expression.Rethrow 方法

定義

建立 UnaryExpression,表示重新擲回例外狀況。Creates a UnaryExpression that represents a rethrowing of an exception.

多載

Rethrow(Type)

建立 UnaryExpression,代表重新擲回含指定之類型的例外狀況。Creates a UnaryExpression that represents a rethrowing of an exception with a given type.

Rethrow()

建立 UnaryExpression,表示重新擲回例外狀況。Creates a UnaryExpression that represents a rethrowing of an exception.

Rethrow(Type)

建立 UnaryExpression,代表重新擲回含指定之類型的例外狀況。Creates a UnaryExpression that represents a rethrowing of an exception with a given type.

public:
 static System::Linq::Expressions::UnaryExpression ^ Rethrow(Type ^ type);
public static System.Linq.Expressions.UnaryExpression Rethrow (Type type);
static member Rethrow : Type -> System.Linq.Expressions.UnaryExpression
Public Shared Function Rethrow (type As Type) As UnaryExpression

參數

type
Type

運算式的新 TypeThe new Type of the expression.

傳回

UnaryExpression

表示重新擲回例外狀況的 UnaryExpressionA UnaryExpression that represents a rethrowing of an exception.

適用於

Rethrow()

建立 UnaryExpression,表示重新擲回例外狀況。Creates a UnaryExpression that represents a rethrowing of an exception.

public:
 static System::Linq::Expressions::UnaryExpression ^ Rethrow();
public static System.Linq.Expressions.UnaryExpression Rethrow ();
static member Rethrow : unit -> System.Linq.Expressions.UnaryExpression
Public Shared Function Rethrow () As UnaryExpression

傳回

UnaryExpression

表示重新擲回例外狀況的 UnaryExpressionA UnaryExpression that represents a rethrowing of an exception.

適用於