Spawn Method (DispatcherQueue, Handler)
Microsoft Robotics Class Reference
Invoke a message handler asynchronously, supplying any arguments explicitly.
Namespace: Microsoft.Ccr.Core
Assembly: Microsoft.Ccr.Core (in Microsoft.Ccr.Core.dll) Version: 4.0.261.0 (4.0.261.0)
Syntax
public static void Spawn(
this DispatcherQueue TaskQueue,
Handler handler
)
Parameters
- TaskQueue
Type: Microsoft.Ccr.Core. . :: . .DispatcherQueue
DispatcherQueue for this extension to be applied.
- handler
Type: Microsoft.Ccr.Core. . :: . .Handler
The message handler to invoke.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type DispatcherQueue. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .