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!

EventHandler Delegate

Delegate for Events.

[Visual Basic]
Public Delegate Sub EventHandler( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
)
[C#]
public delegate void EventHandler(
   object sender,
   EventArgs e
);
[C++]
public __gc __delegate void EventHandler(
   Object* sender,
   EventArgs* e
);

[JScript] In JScript, you can use the delegates in the NGWS frameworks, but you cannot define your own.

Parameters [Visual Basic, C#, C++]

The declaration of your event-handling method must have the same parameters as the EventHandler delegate declaration.

Remarks

Every subclass of Delegate and MulticastDelegate has a constructor and an

Invoke method. See the Managed C++ code example given in the

Delegate topic.

Requirements

Namespace: System

Assembly: mscorlib.dll

See Also

System Namespace