CodeThrowExceptionStatement Constructor (CodeExpression^)
.NET Framework (current version)
Initializes a new instance of the CodeThrowExceptionStatement class with the specified exception type instance.
Assembly: System (in System.dll)
Parameters
- toThrow
-
Type:
System.CodeDom::CodeExpression^
A CodeExpression that indicates the exception to throw.
.NET Framework
Available since 1.1
Available since 1.1
Show: