AsyncQueue<T>.Complete Method

Definition

Signals that no further elements will be enqueued.

public:
 void Complete();
public:
 void Complete();
void Complete();
public void Complete ();
member this.Complete : unit -> unit
Public Sub Complete ()

Remarks

This method will return immediately. Elements enqueued before calling this method may still be dequeued. IsCompleted will return true only after this method has been called and the queue is empty.

Applies to