AsyncQueue<T>.Enqueue(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.