ConnectionEventHandler Delegate |
Delegate for connection related events
Namespace: CFX.TransportAssembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntaxpublic delegate void ConnectionEventHandler(
ConnectionEvent eventType,
Uri uri,
int spoolSize,
string errorInformation,
Exception errorException = null
)
Public Delegate Sub ConnectionEventHandler (
eventType As ConnectionEvent,
uri As Uri,
spoolSize As Integer,
errorInformation As String,
Optional errorException As Exception = Nothing
)
Parameters
- eventType ConnectionEvent
- The type of event
- uri Uri
- The related Uri
- spoolSize Int32
- The current size of the related spool (message count)
- errorInformation String
- Human interpretable information related to the event
- errorException Exception (Optional)
- An optional Exception indicating error details
See Also