See Also: CodeThrowExceptionStatement Members
System.CodeDom.CodeThrowExceptionStatement can represent a statement that throws an exception. The expression should be, or evaluate to, a reference to an instance of a type that derives from the Exception class.
The CodeThrowExceptionStatement.ToThrow property specifies the exception to throw.