ConnectionEventHandler Delegate |
Delegate for connection related events
Namespace: CFX.TransportAssembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
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