Devesprit.Scripter

PipeStreamWriter<(Of <(<'T>)>)>..::..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
ObjectDisposedExceptionThe pipe is closed.
NotSupportedExceptionThe pipe does not support write operations.
IOExceptionThe pipe is broken or another I/O error occurred.