Share via


TimeoutPort Method (DispatcherQueue, Int32)

Microsoft Robotics Class Reference

Creates a port to receive a time signal, registers a timeout with the sequencer, supplying the private port.

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 Port<DateTime> TimeoutPort(
    this DispatcherQueue TaskQueue,
    int milliseconds
)

Parameters

Return Value

Port instance registered with sequencer for receiving timeout signal

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

TimeoutPort Overload

Microsoft.Ccr.Core Namespace