コード例 #1
0
 public static string GetErrorDescription
 (
     IrbisException exception
 )
 {
     return(string.IsNullOrEmpty(exception.Message)
         ? GetErrorDescription(exception.ErrorCode)
         : exception.Message);
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// <see cref="IrbisCommadEventArgs" /> class.
 /// </summary>
 /// <param name="client">The client.</param>
 /// <param name="exception">The exception.</param>
 public IrbisCommadEventArgs
 (
     ManagedClient64 client,
     IrbisException exception
 )
 {
     Client     = client;
     RetryCount = client.RetryCount;
     Exception  = exception;
 }