Share via


Spawn(T0) Method (DispatcherQueue, T0, Handler(T0))

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<T0>(
    this DispatcherQueue TaskQueue,
    T0 t0,
    Handler<T0> handler
)

Parameters

  • t0
    Type: T0
    The 0th parameter to the message handler.

Type Parameters

  • T0
    The 0th 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 .

See Also

DispatcherQueueExtensions Class

Spawn Overload

Microsoft.Ccr.Core Namespace