PipeReadWriteExtensions.Read(TMessage) Method
From Tungsten Suite
Tungsten
|
|
PipeReadWriteExtensionsReadTMessage Method |
Waits for a message to be read from the pipe
Namespace: W.IO.Pipes
Assembly: Tungsten.IO.Pipes (in Tungsten.IO.Pipes.dll) Version: 2.0.3
C#
public static TMessage Read<TMessage>( this Pipe<TMessage> pipe )
Parameters
- pipe
- Type: W.IO.PipesPipeTMessage
The pipe from which to read data
Type Parameters
- TMessage
[Missing <typeparam name="TMessage"/> documentation for "M:W.IO.Pipes.PipeReadWriteExtensions.Read``1(W.IO.Pipes.Pipe{``0})"]
Return Value
Type: TMessageThe message received or null if the read failed (the pipe was closed)