Bewerken

Share via


PipeStream.IsConnected Property

Definition

Gets or sets a value indicating whether a PipeStream object is connected.

public:  property bool IsConnected {  public:
bool get(); protected:
 void set(bool value); };
public bool IsConnected { get; protected set; }
member this.IsConnected : bool with get, set
Public Property IsConnected As Boolean

Property Value

true if the PipeStream object is connected; otherwise, false.

Remarks

The IsConnected property returns true only if the PipeStream object is connected. If this property returns false, the pipe may be waiting to connect, or may be disconnected, closed, or broken.

Applies to