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.6.1 RaiseEvent statement

The RaiseEvent statement notifies event handlers that a particular event has occurred. The argument to a RaiseEvent statement must be a member event of the type that contains the method raising the event. If the event takes arguments, they must be specified. If there are no arguments, the parenthesis may be omitted.

The RaiseEvent statement is processed as a call to the Invoke method of the event's delegate using the supplied parameters, if any.

RaiseEventStatement ::= RaiseEvent EventMemberName
  [ ( [ ArgumentList ] ) ] StatementTerminator