Click or drag to resize

CrestronQueueTDequeue(UInt32, T) Method

Remove an object from the queue, but only block for the specified amount of time Dequeue with a timeout of 0 is equivalent to TryToDequeue()

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public bool Dequeue(
	uint time_out,
	out T? objectDequeued
)

Parameters

time_out  UInt32
Time out in milliseconds
objectDequeued  T
Returns the element which was dequeued. This element could be null

Return Value

Boolean
A boolean indicating whether we were successfully able to dequeue an element from the queue or not

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also