NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CodeThrowExceptionStatement.ToThrow

Gets or sets the expression to throw.

[Visual Basic]
Public Property ToThrow As CodeExpression
[C#]
public CodeExpression ToThrow {get; set;}
[C++]
public: __property CodeExpression* get_ToThrow();
public: __property void set_ToThrow(CodeExpression*);
[JScript]
public function get ToThrow() : CodeExpression;
public function set ToThrow(CodeExpression);

Property Value

A CodeExpression indicating the expression to throw.

See Also

CodeThrowExceptionStatement Class | CodeThrowExceptionStatement Members | System.CodeDOM Namespace | CodeExpression