Share via


PipelineReader<T>.Close Method

Definition

Close the stream.

public:
 abstract void Close();
public:
 abstract void Close();
 abstract void Close();
public abstract void Close ();
abstract member Close : unit -> unit
Public MustOverride Sub Close ()

Exceptions

The stream is already disposed

Remarks

Causes subsequent calls to IsOpen to return false and calls to a write operation to throw an PipelineClosedException. All calls to Close() after the first call are silently ignored.

Applies to