ערוך

שתף באמצעות


ConcurrentQueue<T> Constructors

Definition

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

Overloads

ConcurrentQueue<T>()

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

ConcurrentQueue<T>(IEnumerable<T>)

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

ConcurrentQueue<T>()

Source:
ConcurrentQueue.cs
Source:
ConcurrentQueue.cs
Source:
ConcurrentQueue.cs

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

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

See also

Applies to

ConcurrentQueue<T>(IEnumerable<T>)

Source:
ConcurrentQueue.cs
Source:
ConcurrentQueue.cs
Source:
ConcurrentQueue.cs

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>

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

Exceptions

The collection argument is null.

See also

Applies to