The properties of the CodeThrowExceptionStatement class are listed below. For a complete list of CodeThrowExceptionStatement class members, see the CodeThrowExceptionStatement Members topic.
LinePragma (inherited from CodeStatement) | The line the statement occurs on. |
ToThrow | Gets or sets the expression to throw. |
CodeThrowExceptionStatement Class | System.CodeDOM Namespace