Devesprit.Scripter

PipeStreamWrapper<(Of <(<'TRead, TWrite>)>)>..::..WaitForPipeDrain Method

Waits for the other end of the pipe to read all sent bytes.

Namespace:  Devesprit.Scripter.IPC.Pipe.IO
Assembly:  Devesprit Scripter (in Devesprit Scripter.dll)

Syntax


public void WaitForPipeDrain()
Public Sub WaitForPipeDrain
public:
void WaitForPipeDrain()

Exceptions


ExceptionCondition
[ObjectDisposedException]The pipe is closed.
[NotSupportedException]The pipe does not support write operations.
[IOException]The pipe is broken or another I/O error occurred.