CodeThrowExceptionStatement Constructeurs

Définition

Initialise une nouvelle instance de la classe CodeThrowExceptionStatement.

Surcharges

Nom Description
CodeThrowExceptionStatement()

Initialise une nouvelle instance de la classe CodeThrowExceptionStatement.

CodeThrowExceptionStatement(CodeExpression)

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

CodeThrowExceptionStatement()

Source:
CodeThrowExceptionStatement.cs
Source:
CodeThrowExceptionStatement.cs
Source:
CodeThrowExceptionStatement.cs
Source:
CodeThrowExceptionStatement.cs
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
Source:
CodeThrowExceptionStatement.cs
Source:
CodeThrowExceptionStatement.cs
Source:
CodeThrowExceptionStatement.cs
Source:
CodeThrowExceptionStatement.cs

Initialise une nouvelle instance de la CodeThrowExceptionStatement classe 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

Qui CodeExpression indique l’exception à lever.

Voir aussi

S’applique à