CrestronQueueTEnqueue(T, UInt32) Method |
Add an element to the end of the queue, but only block for the specified amount of time
The addition will be continuously attempted until the end of the specified amount of time
Enqueue(element, 0) is equivalent to TryToEnqueue(element)
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic bool Enqueue(
T element,
uint time_out
)
Parameters
- element T
- Element to be added to the queue
- time_out UInt32
- Time out in milliseconds
Return Value
BooleanWhether the addition was successful or not successful and whether it happened within the time period
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also