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!

TimerCallback Delegate

Delegate for the Timers.

Every subclass of Delegate and MulticastDelegate has a constructor and an Invoke method. See the Managed C++ code example given in the description for the Delegate class.

[Visual Basic]
Public Delegate Sub TimerCallback( _
   ByVal state As Object _
)
[C#]
public delegate void TimerCallback(
   object state
);
[C++]
public __gc __delegate void TimerCallback(
   Object* state
);

[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 TimerCallback delegate declaration.

Remarks

[To be supplied.]

Requirements

Namespace: System.Threading

Assembly: mscorlib.dll

See Also

System.Threading Namespace