Share via


Activate(T) Method

Microsoft Robotics Class Reference

Submits CCR tasks to the dispatcher port for execution. If the task was a receiver orchestration like join or choice, executing it means registering constraints on ports to guard the execution of user code

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 Activate<T>(
    this DispatcherQueue TaskQueue,
    params T[] tasks
)
where T : ITask

Parameters

  • tasks
    Type: array<T> [] () [] []
    Tasks to execute

Type Parameters

  • T
    Task instance

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

Microsoft.Ccr.Core Namespace