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!

9.11.2.3 Resume statement

The Resume statement returns execution to the statement that caused the "current" exception. If the Next modifier is specified, execution returns to the statement that would have been executed after the statement that caused "current" exception. If a label name is specified, then execution returns to the label.

In all cases, when a Resume statement is executed, the "current" exception is set to Nothing. If a Resume statement is executed with no "current" exception, then an error occurs at runtime.

ResumeStatement ::= Resume [ ResumeClause ] StatementTerminator
ResumeClause ::= Next | LabelName