Expression.Rethrow Method

Definition

Creates a UnaryExpression that represents a rethrowing of an exception.

Overloads

Rethrow(Type)

Creates a UnaryExpression that represents a rethrowing of an exception with a given type.

Rethrow()

Creates a UnaryExpression that represents a rethrowing of an exception.

Rethrow(Type)

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

Parameters

type
Type

The new Type of the expression.

Returns

A UnaryExpression that represents a rethrowing of an exception.

Applies to

Rethrow()

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

Returns

A UnaryExpression that represents a rethrowing of an exception.

Applies to