Share via

BufferBlock<T>.Complete Method


Signals to the IDataflowBlock that it should not accept nor produce any more messages nor consume any more postponed messages.

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



After Complete has been called on a dataflow block, that block will complete, and its Completion task will enter a final state after it has processed all previously available data. Complete will not block waiting for completion to occur, but rather will initiate the request; to wait for completion to occur, the Completion task may be used.

Applies to