PipeReader.Complete(Exception) Method

Definition

Signals to the producer that the consumer is done reading.

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