Udostępnij za pośrednictwem


PipelineWriter.IsOpen Property

Definition

Check if the stream is open for further writes.

public:
 abstract property bool IsOpen { bool get(); };
public:
 abstract property bool IsOpen { bool get(); };
public abstract bool IsOpen { get; }
member this.IsOpen : bool
Public MustOverride ReadOnly Property IsOpen As Boolean

Property Value

true if the underlying stream is open, otherwise false

Remarks

Attempting to write to the underlying stream if IsOpen is false throws a PipelineClosedException.

Applies to