PipeStream.IsMessageComplete Property

 

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

Namespace:   System.IO.Pipes
Assembly:  System.Core (in System.Core.dll)

public bool IsMessageComplete {
	[SecurityCriticalAttribute]
	get;
}

Property Value

Type: System.Boolean

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

Exception Condition
InvalidOperationException

The pipe is not connected.

-or-

The pipe handle has not been set.

-or-

The pipe's ReadMode property value is not Message.

ObjectDisposedException

The pipe is closed.

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

.NET Framework
Available since 3.5
Return to top
Show: