SpawnIterator(T0, T1) Method (DispatcherQueue, T0, T1, IteratorHandler(T0, T1))
Microsoft Robotics Class Reference
Invoke an iterator-based 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 SpawnIterator<T0, T1>(
this DispatcherQueue TaskQueue,
T0 t0,
T1 t1,
IteratorHandler<T0, T1> handler
)
Parameters
- TaskQueue
Type: Microsoft.Ccr.Core. . :: . .DispatcherQueue
DispatcherQueue for this extension to be applied.
- t0
Type: T0
The 0th parameter to the message handler.
- t1
Type: T1
The 1th parameter to the message handler.
- handler
Type: Microsoft.Ccr.Core. . :: . .IteratorHandler< (Of < ( <'T0, T1> ) > ) >
The message handler to invoke.
Type Parameters
- T0
The 0th parameter type to the message handler. - T1
The 1th parameter type to the message handler.
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 .