Tungsten
PipeReadWriteExtensionsWriteTMessage Method |
Write a message to the pipe
Namespace: W.IO.Pipes
Assembly: Tungsten.IO.Pipes (in Tungsten.IO.Pipes.dll) Version: 2.0.3
Syntax
C#
public static bool Write<TMessage>( this Pipe<TMessage> pipe, TMessage message )
Parameters
- pipe
- Type: W.IO.PipesPipeTMessage
The pipe on which to write data - message
- Type: TMessage
The message to write
Type Parameters
- TMessage
[Missing <typeparam name="TMessage"/> documentation for "M:W.IO.Pipes.PipeReadWriteExtensions.Write``1(W.IO.Pipes.Pipe{``0},``0)"]
Return Value
Type: BooleanTrue if the message was sent successfully, otherwise false
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type PipeTMessage. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also