Error Event
Reports information about errors during request processing or signing.
Syntax
public event OnErrorHandler OnError; public delegate void OnErrorHandler(object sender, DcauthErrorEventArgs e); public class DcauthErrorEventArgs : EventArgs { public int ErrorCode { get; } public string Description { get; } }
Public Event OnError As OnErrorHandler Public Delegate Sub OnErrorHandler(sender As Object, e As DcauthErrorEventArgs) Public Class DcauthErrorEventArgs Inherits EventArgs Public ReadOnly Property ErrorCode As Integer Public ReadOnly Property Description As String End Class
Remarks
The event is fired if an error occurs during the request processing. Use the ErrorCode and Description parameters to get the details.