Note

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

Access to this page requires authorization. You can try .

PipeWriter.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:
PipeWriter.cs
Source:
PipeWriter.cs
Source:
PipeWriter.cs
Source:
PipeWriter.cs
Source:
PipeWriter.cs
Source:
PipeWriter.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.

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

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?