PipeStream.IsMessageComplete Property

Definition

Gets a value indicating whether there is more data in the message returned from the most recent read operation.

public:
 property bool IsMessageComplete { bool get(); };
public bool IsMessageComplete { get; }
public bool IsMessageComplete { [System.Security.SecurityCritical] get; }
member this.IsMessageComplete : bool
[<get: System.Security.SecurityCritical>]
member this.IsMessageComplete : bool
Public ReadOnly Property IsMessageComplete As Boolean

Property Value

true if there are no more characters to read in the message; otherwise, false.

Attributes

Exceptions

The pipe is not connected.

-or-

The pipe handle has not been set.

-or-

The pipe's ReadMode property value is not Message.

The pipe is closed.

Remarks

This property is relevant if the pipe's ReadMode property was set to Message by the most recent call to Read or EndRead.

Applies to