Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IDataflowBlock.Complete Method

Definition

Namespace:
System.Threading.Tasks.Dataflow
Assembly:
System.Threading.Tasks.Dataflow.dll
Package:
System.Threading.Tasks.Dataflow v11.0.0-preview.5.26302.115
Source:
IDataflowBlock.cs
Source:
IDataflowBlock.cs
Source:
IDataflowBlock.cs
Source:
DataflowBlockOptions.cs

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.

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

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

Remarks

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


Feedback

Was this page helpful?