PipeWriter.Complete(Exception) Method

Definition

Marks the PipeWriter as being complete, meaning no more items will be written to it.

C#
public abstract void Complete(Exception? exception = default);

Parameters

exception
Exception

Optional Exception indicating a failure that's causing the pipeline to complete.

Applies to

Proizvod Verzije
.NET 8 (package-provided), 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)