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
- TaskQueue
Type: Microsoft.Ccr.Core. . :: . .DispatcherQueue
DispatcherQueue for this extension to be applied.
- milliseconds
Type: System. . :: . .Int32
Timeout in milliseconds
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 .