Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property bool IsMessageComplete {
	[SecurityCriticalAttribute]
	bool 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:
© 2017 Microsoft