PriorityQueue TValue  MembersNetworkComms.Net Help
The PriorityQueue TValue  type exposes the following members.

Public methodPriorityQueue TValue 
Create a new instance of the priority queue.
Back to Top

Public methodClear
Clear the content of all queues
Public methodCopyTo
Copies queued items into the provided destination array. Highest priority items first descending until destination is full or there are no remaining items.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodToArray
Returns all queued items as a 1D array. Highest priority items first descending.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodTryAdd
Try adding an item to the priority queue.
Public methodTryTake(KeyValuePair QueueItemPriority, TValue  )
Try removing an item from the priority queue
Public methodTryTake(QueueItemPriority, KeyValuePair QueueItemPriority, TValue  )
Try removing an item from the priority queue which has a priority of at least that provided.
Back to Top

Public propertyCount
The total number of items currently queued.
Public propertyIsSynchronized
Gets a value indicating whether access to the PriorityQueue is synchronized (thread safe). Always returns true.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the PriorityQueue. Throws an exception as all access is explicitly thread safe.
Back to Top
See Also