CodeThrowExceptionStatement Konstruktory

Definice

Inicializuje novou instanci CodeThrowExceptionStatement třídy .

Přetížení

CodeThrowExceptionStatement()

Inicializuje novou instanci CodeThrowExceptionStatement třídy .

CodeThrowExceptionStatement(CodeExpression)

Inicializuje novou instanci CodeThrowExceptionStatement třídy se zadaným typem výjimky instance.

CodeThrowExceptionStatement()

Zdroj:
CodeThrowExceptionStatement.cs
Zdroj:
CodeThrowExceptionStatement.cs
Zdroj:
CodeThrowExceptionStatement.cs

Inicializuje novou instanci CodeThrowExceptionStatement třídy .

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

Platí pro

CodeThrowExceptionStatement(CodeExpression)

Zdroj:
CodeThrowExceptionStatement.cs
Zdroj:
CodeThrowExceptionStatement.cs
Zdroj:
CodeThrowExceptionStatement.cs

Inicializuje novou instanci CodeThrowExceptionStatement třídy se zadaným typem výjimky instance.

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)

Parametry

toThrow
CodeExpression

A CodeExpression označující výjimku, která se má vyvolat.

Viz také

Platí pro