다음을 통해 공유


AsyncQueue<T>.Enqueue(T) Method

Definition

Adds an element to the tail of the queue.

public:
 void Enqueue(T value);
public:
 void Enqueue(T value);
void Enqueue(T value);
public void Enqueue (T value);
member this.Enqueue : 'T -> unit
Public Sub Enqueue (value As T)

Parameters

value
T

The value to add.

Exceptions

Thrown if Complete() has already been called. Use TryEnqueue(T) to avoid an exception in this case.

Applies to