CodeThrowExceptionStatement Constructor (CodeExpression^)

 

Initializes a new instance of the CodeThrowExceptionStatement class with the specified exception type instance.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public:
CodeThrowExceptionStatement(
	CodeExpression^ toThrow
)

Parameters

toThrow
Type: System.CodeDom::CodeExpression^

A CodeExpression that indicates the exception to throw.

.NET Framework
Available since 1.1
Return to top
Show: