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

Definição

Sobrecargas

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

Inicializa uma nova instância da classe 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>)

Inicializa uma nova instância da classe ConcurrentQueue<T> que contém elementos copiados da coleção especificadaInitializes a new instance of the ConcurrentQueue<T> class that contains elements copied from the specified collection

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

Inicializa uma nova instância da classe ConcurrentQueue<T>.Initializes a new instance of the ConcurrentQueue<T> class.

public:
 ConcurrentQueue();
public ConcurrentQueue ();
Public Sub New ()
Veja também

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

Inicializa uma nova instância da classe ConcurrentQueue<T> que contém elementos copiados da coleção especificadaInitializes 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))

Parâmetros

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

A coleção cujos elementos são copiados para o novo ConcurrentQueue<T>.The collection whose elements are copied to the new ConcurrentQueue<T>.

Exceções

O argumento collection é nulo.The collection argument is null.

Veja também

Aplica-se a