CodeThrowExceptionStatement Konstruktoren

Definition

Initialisiert eine neue Instanz der CodeThrowExceptionStatement-Klasse.

Überlädt

Name Beschreibung
CodeThrowExceptionStatement()

Initialisiert eine neue Instanz der CodeThrowExceptionStatement-Klasse.

CodeThrowExceptionStatement(CodeExpression)

Initialisiert eine neue Instanz der CodeThrowExceptionStatement Klasse mit der angegebenen Ausnahmetypinstanz.

CodeThrowExceptionStatement()

Initialisiert eine neue Instanz der CodeThrowExceptionStatement-Klasse.

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

Gilt für:

CodeThrowExceptionStatement(CodeExpression)

Initialisiert eine neue Instanz der CodeThrowExceptionStatement Klasse mit der angegebenen Ausnahmetypinstanz.

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)

Parameter

toThrow
CodeExpression

A CodeExpression that indicates the exception to throw.

Weitere Informationen

Gilt für: