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!

Compiler Error C2703

illegal __leave statement

A __leave statement must be inside a __try block.

Example

void main ()
{
   __leave;   //error
   __try
   {
      __leave;   //OK
   }
   __finally {}
}