ConcurrentQueue<T> ConcurrentQueue<T> ConcurrentQueue<T> ConcurrentQueue<T> Constructors

Definition

Overloads

ConcurrentQueue<T>() ConcurrentQueue<T>() ConcurrentQueue<T>()

Initializes a new instance of the ConcurrentQueue<T> class.

ConcurrentQueue<T>(IEnumerable<T>) ConcurrentQueue<T>(IEnumerable<T>) ConcurrentQueue<T>(IEnumerable<T>) ConcurrentQueue<T>(IEnumerable<T>)

Initializes a new instance of the ConcurrentQueue<T> class that contains elements copied from the specified collection

ConcurrentQueue<T>() ConcurrentQueue<T>() ConcurrentQueue<T>()

Initializes a new instance of the ConcurrentQueue<T> class.

public:
 ConcurrentQueue();
public ConcurrentQueue ();
Public Sub New ()
See also

ConcurrentQueue<T>(IEnumerable<T>) ConcurrentQueue<T>(IEnumerable<T>) ConcurrentQueue<T>(IEnumerable<T>) ConcurrentQueue<T>(IEnumerable<T>)

Initializes a new instance of the ConcurrentQueue<T> class that contains elements copied from the specified collection

public:
 ConcurrentQueue(System::Collections::Generic::IEnumerable<T> ^ collection);
public ConcurrentQueue (System.Collections.Generic.IEnumerable<T> collection);
new System.Collections.Concurrent.ConcurrentQueue<'T> : seq<'T> -> System.Collections.Concurrent.ConcurrentQueue<'T>
Public Sub New (collection As IEnumerable(Of T))

Parameters

collection
IEnumerable<T> IEnumerable<T> IEnumerable<T> IEnumerable<T>

The collection whose elements are copied to the new ConcurrentQueue<T>.

Exceptions

See also

Applies to