NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Queue Class

Represents a first-in-first-out collection of objects.

Object
   Queue

[Visual Basic]
Public Class Queue
   Implements ICollection, IEnumerable
[C#]
public class Queue : ICollection, IEnumerable
[C++]
public __gc class Queue : public ICollection, IEnumerable
[JScript]
public class Queue implements ICollection, IEnumerable

Remarks

Objects stored in a Queue are inserted in one end and removed from the other.

Queues are useful for storing messages in the order they were received for sequential processing.

This class implements a queue as a circular array.

When the number of elements in the Queue reaches its capacity, the capacity is automatically increased to accommodate more elements.

Requirements

Namespace: System.Collections

Assembly: mscorlib.dll

See Also

Queue Members | System.Collections Namespace