PipeWriter.Complete(Exception) Method

Definition

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

public abstract void Complete (Exception exception = default);
public abstract void Complete (Exception? exception = default);
abstract member Complete : Exception -> unit
Public MustOverride Sub Complete (Optional exception As Exception = Nothing)

Parameters

exception
Exception

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

Applies to