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 Constructor (CodeExpression)

Initializes a new instance of CodeThrowExceptionStatement using the specified statement.

[Visual Basic]
Overloads Public Sub New( _
   ByVal toThrow As CodeExpression _
)
[C#]
public CodeThrowExceptionStatement(
   CodeExpression toThrow
);
[C++]
public: CodeThrowExceptionStatement(
   CodeExpression* toThrow
);
[JScript]
public function CodeThrowExceptionStatement(
   toThrow : CodeExpression
);

Parameters

toThrow
A CodeExpression indicating the exception to throw.

See Also

CodeThrowExceptionStatement Class | CodeThrowExceptionStatement Members | System.CodeDOM Namespace | CodeThrowExceptionStatement Constructor Overload List | CodeExpression