ConnectionError Event

Information about errors during data delivery.

Syntax

public event OnConnectionErrorHandler OnConnectionError;

public delegate void OnConnectionErrorHandler(object sender, AzurerelayreceiverConnectionErrorEventArgs e);

public class AzurerelayreceiverConnectionErrorEventArgs : EventArgs {
  public string ConnectionId { get; }
  public int ErrorCode { get; }
  public string Description { get; }
}
Public Event OnConnectionError As OnConnectionErrorHandler

Public Delegate Sub OnConnectionErrorHandler(sender As Object, e As AzurerelayreceiverConnectionErrorEventArgs)

Public Class AzurerelayreceiverConnectionErrorEventArgs Inherits EventArgs
  Public ReadOnly Property ConnectionId As String
  Public ReadOnly Property ErrorCode As Integer
  Public ReadOnly Property Description As String
End Class

Remarks

The Error event is fired in case of exceptional conditions during message processing. Normally the component throws an exception.

ConnectionId contains an error code and Description contains a textual description of the error. For a list of valid error codes and their descriptions, please refer to the Error Codes section.

ErrorCode contains an error code and Description contains a textual description of the error. For a list of valid error codes and their descriptions, please refer to the Error Codes section.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 .NET Edition - Version 20.0 [Build 8155]