Devesprit.Scripter

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

Writes an object to the pipe. This method blocks until all data is sent.

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

Syntax


public void WriteObject(
	TWrite obj
)
Public Sub WriteObject ( _
	obj As TWrite _
)
public:
void WriteObject(
	TWrite obj
)

Parameters

obj
Type: TWrite
Object to write to the pipe

Exceptions


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