Share via


CodeThrowExceptionStatement Constructeurs

Définition

Initialise une nouvelle instance de la classe CodeThrowExceptionStatement.

Surcharges

CodeThrowExceptionStatement()

Initialise une nouvelle instance de la classe CodeThrowExceptionStatement.

CodeThrowExceptionStatement(CodeExpression)

Initialise une nouvelle instance de la classe CodeThrowExceptionStatement avec l'instance de type d'exception spécifiée.

CodeThrowExceptionStatement()

Source:
CodeThrowExceptionStatement.cs
Source:
CodeThrowExceptionStatement.cs
Source:
CodeThrowExceptionStatement.cs

Initialise une nouvelle instance de la classe CodeThrowExceptionStatement.

public:
 CodeThrowExceptionStatement();
public CodeThrowExceptionStatement ();
Public Sub New ()

S’applique à

CodeThrowExceptionStatement(CodeExpression)

Source:
CodeThrowExceptionStatement.cs
Source:
CodeThrowExceptionStatement.cs
Source:
CodeThrowExceptionStatement.cs

Initialise une nouvelle instance de la classe CodeThrowExceptionStatement avec l'instance de type d'exception spécifiée.

public:
 CodeThrowExceptionStatement(System::CodeDom::CodeExpression ^ toThrow);
public CodeThrowExceptionStatement (System.CodeDom.CodeExpression toThrow);
new System.CodeDom.CodeThrowExceptionStatement : System.CodeDom.CodeExpression -> System.CodeDom.CodeThrowExceptionStatement
Public Sub New (toThrow As CodeExpression)

Paramètres

toThrow
CodeExpression

CodeExpression indiquant l'exception à lever.

Voir aussi

S’applique à