CodeThrowExceptionStatement Konstruktorer

Definition

Initierar en ny instans av CodeThrowExceptionStatement klassen.

Överlagringar

Name Description
CodeThrowExceptionStatement()

Initierar en ny instans av CodeThrowExceptionStatement klassen.

CodeThrowExceptionStatement(CodeExpression)

Initierar en ny instans av CodeThrowExceptionStatement klassen med den angivna undantagstypsinstansen.

CodeThrowExceptionStatement()

Källa:
CodeThrowExceptionStatement.cs
Källa:
CodeThrowExceptionStatement.cs
Källa:
CodeThrowExceptionStatement.cs
Källa:
CodeThrowExceptionStatement.cs
Källa:
CodeThrowExceptionStatement.cs
Källa:
CodeThrowExceptionStatement.cs
Källa:
CodeThrowExceptionStatement.cs

Initierar en ny instans av CodeThrowExceptionStatement klassen.

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

Gäller för

CodeThrowExceptionStatement(CodeExpression)

Källa:
CodeThrowExceptionStatement.cs
Källa:
CodeThrowExceptionStatement.cs
Källa:
CodeThrowExceptionStatement.cs
Källa:
CodeThrowExceptionStatement.cs
Källa:
CodeThrowExceptionStatement.cs
Källa:
CodeThrowExceptionStatement.cs
Källa:
CodeThrowExceptionStatement.cs

Initierar en ny instans av CodeThrowExceptionStatement klassen med den angivna undantagstypsinstansen.

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)

Parametrar

toThrow
CodeExpression

Ett CodeExpression som anger undantaget som ska utlösas.

Se även

Gäller för