Devesprit.Scripter

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

Reads the next object from the pipe. This method blocks until an object is sent or the pipe is disconnected.

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

Syntax


public TRead ReadObject()
Public Function ReadObject As TRead
public:
TRead ReadObject()

Return Value

The next object read from the pipe, or null if the pipe disconnected.

Exceptions


ExceptionCondition
[SerializationException]An object in the graph of type parameter TRead is not marked as serializable.