Devesprit.Scripter

ConnectionMessageEventHandler<(Of <(<'TRead, TWrite>)>)> Delegate

Handles messages received from a named pipe.

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

Syntax


public delegate void ConnectionMessageEventHandler<TRead, TWrite>(
	NamedPipeConnection<TRead, TWrite> connection,
	TRead message
)
Public Delegate Sub ConnectionMessageEventHandler(Of TRead, TWrite) ( _
	connection As NamedPipeConnection(Of TRead, TWrite), _
	message As TRead _
)
generic<typename TRead, typename TWrite>
public delegate void ConnectionMessageEventHandler(
	NamedPipeConnection<TRead, TWrite>^ connection, 
	TRead message
)

Type Parameters

TRead
Reference type
TWrite
Reference type

Parameters

connection
Type: Devesprit.Scripter.IPC.Pipe..::..NamedPipeConnection<(Of <(<'TRead, TWrite>)>)>
Connection that received the message
message
Type: TRead
Message sent by the other end of the pipe