Note

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

Access to this page requires authorization. You can try .

PipeReader.Complete(Exception) Method

Definition

Namespace:
System.IO.Pipelines
Assembly:
System.IO.Pipelines.dll
Package:
System.IO.Pipelines v11.0.0-preview.5.26302.115
Source:
PipeReader.cs
Source:
PipeReader.cs
Source:
PipeReader.cs
Source:
PipeReader.cs
Source:
PipeReader.cs
Source:
PipeReader.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 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


Feedback

Was this page helpful?