CodeThrowExceptionStatement Konstruktorok

Definíció

Inicializálja a CodeThrowExceptionStatement osztály új példányát.

Túlterhelések

Name Description
CodeThrowExceptionStatement()

Inicializálja a CodeThrowExceptionStatement osztály új példányát.

CodeThrowExceptionStatement(CodeExpression)

Inicializálja az osztály új példányát CodeThrowExceptionStatement a megadott kivételtípus-példánnyal.

CodeThrowExceptionStatement()

Forrás:
CodeThrowExceptionStatement.cs
Forrás:
CodeThrowExceptionStatement.cs
Forrás:
CodeThrowExceptionStatement.cs
Forrás:
CodeThrowExceptionStatement.cs
Forrás:
CodeThrowExceptionStatement.cs
Forrás:
CodeThrowExceptionStatement.cs
Forrás:
CodeThrowExceptionStatement.cs

Inicializálja a CodeThrowExceptionStatement osztály új példányát.

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

A következőre érvényes:

CodeThrowExceptionStatement(CodeExpression)

Forrás:
CodeThrowExceptionStatement.cs
Forrás:
CodeThrowExceptionStatement.cs
Forrás:
CodeThrowExceptionStatement.cs
Forrás:
CodeThrowExceptionStatement.cs
Forrás:
CodeThrowExceptionStatement.cs
Forrás:
CodeThrowExceptionStatement.cs
Forrás:
CodeThrowExceptionStatement.cs

Inicializálja az osztály új példányát CodeThrowExceptionStatement a megadott kivételtípus-példánnyal.

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éterek

toThrow
CodeExpression

A CodeExpression , amely azt jelzi, hogy a kivételt ki kell dobni.

Lásd még

A következőre érvényes: