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 C3740

templates cannot source or receive events

A templated class or struct cannot contain events.

The following sample generates C3740:

template <typename T>   // Delete the template specification
struct E {
   __event void f();   // C3740
};

void main() {
}