Click or drag to resize

CrestronQueue Methods

The CrestronQueue type exposes the following members.

Methods
 NameDescription
Public methodClear Remove all elements from the CrestronQueue.
(Inherited from CrestronQueueT)
Public methodContains Determines whether an element is currently in the queue
(Inherited from CrestronQueueT)
Public methodCopyTo Copies the Queue's elements to an existing one-dimensional array, starting at the specified array index.
(Inherited from CrestronQueueT)
Public methodDequeue Remove an object from the queue and block indefinitely until an object can be removed
(Inherited from CrestronQueueT)
Public methodDequeue(T) Remove an object from the queue and block indefinitely until an object can be removed
(Inherited from CrestronQueueT)
Public methodDequeue(UInt32) Remove an object from the queue, but only block for the specified amount of time Dequeue(0) is equivalent to TryToDequeue()
(Inherited from CrestronQueueT)
Public methodDequeue(UInt32, T) 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()
(Inherited from CrestronQueueT)
Public methodDispose Clean up of unmanaged resources
(Inherited from CrestronQueueT)
Public methodEnqueue(T) Add an element to the end of the queue and block indefinitely until the element can be added.
(Inherited from CrestronQueueT)
Public methodEnqueue(T, UInt32) 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)
(Inherited from CrestronQueueT)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetEnumerator Returns a generic enumerator that iterates through the queue.
(Inherited from CrestronQueueT)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodPeek Returns the element at the beginning of the queue without removing it
(Inherited from CrestronQueueT)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryToDequeue Attempt to remove an element from the queue and do not block
(Inherited from CrestronQueueT)
Public methodTryToDequeue(T) Attempt to remove an element from the queue and do not block
(Inherited from CrestronQueueT)
Public methodTryToEnqueue Attempt to add an element to the end of the queue and do not block
(Inherited from CrestronQueueT)
Top
See Also