Devesprit.Scripter

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

Handles exceptions thrown during read/write operations.

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

Syntax


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

Type Parameters

TRead
Reference type
TWrite
Reference type

Parameters

connection
Type: Devesprit.Scripter.IPC.Pipe..::..NamedPipeConnection<(Of <(<'TRead, TWrite>)>)>
Connection that threw the exception
exception
Type: Exception
The exception that was thrown