Contains Helper Methods for working with information that is associated with Error Codes.  
 More...
Contains Helper Methods for working with information that is associated with Error Codes. 
 
◆ GetErrorCategory()
  
  
      
        
          | ErrCodeCategory Ict.Common.ErrorCodes.GetErrorCategory  | 
          ( | 
          string  | 
          AErrorCode | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Returns the error category for a specified error code. 
- Parameters
 - 
  
  
 
- Returns
 - Error category for a specified error code.
 
- Exceptions
 - 
  
    | NullReferenceException | Thrown if the specified error code wasn't found. | 
  
   
 
 
◆ GetErrorDescription()
  
  
      
        
          | static string Ict.Common.ErrorCodes.GetErrorDescription  | 
          ( | 
          string  | 
          AErrorCode | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Returns the error description (FullDescription) for a specified error code. 
- Parameters
 - 
  
  
 
- Returns
 - Error description (FullDescription) for a specified error code, or System.String.Empty if the error code was not found.
 
 
 
◆ GetErrorHelpID()
  
  
      
        
          | static string Ict.Common.ErrorCodes.GetErrorHelpID  | 
          ( | 
          string  | 
          AErrorCode | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Returns the error Help ID for a specified error code. 
- Parameters
 - 
  
  
 
- Returns
 - Error Help ID for a specified error code.
 
 
 
◆ GetErrorInfo() [1/3]
  
  
      
        
          | static ErrCodeInfo Ict.Common.ErrorCodes.GetErrorInfo  | 
          ( | 
          string  | 
          AErrorCode | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Returns an ErrCodeInfo object for a specified error code. 
- Parameters
 - 
  
  
 
- Returns
 - An ErrCodeInfo object which holds information about the specified error code, or null, if the error code was not found.
 
 
 
◆ GetErrorInfo() [2/3]
  
  
      
        
          | static ErrCodeInfo Ict.Common.ErrorCodes.GetErrorInfo  | 
          ( | 
          string  | 
          AErrorCode,  | 
         
        
           | 
           | 
          string  | 
          AErrorMessageText,  | 
         
        
           | 
           | 
          string[]  | 
          AErrorMessagePlaceholderTexts = null,  | 
         
        
           | 
           | 
          string[]  | 
          AErrorTitlePlaceholderTexts = null  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Returns an ErrCodeInfo object for a specified error code. 
- Parameters
 - 
  
    | AErrorCode | Error Code. | 
    | AErrorMessageText | Set this to String.Empty to use the ErrCodeInfo.ShortDescription of the ErrCodeInfo, set it to any other string and this will be displayed instead. | 
    | AErrorMessagePlaceholderTexts | Array whose strings are placed into placeholders which are found in AErrorMessageText  (optional Argument!) | 
  
   
. 
- Parameters
 - 
  
    | AErrorTitlePlaceholderTexts | Array whose strings are placed into placeholders which are found in the ErrorCode's ErrorTitle (optional Argument!) | 
  
   
. /// 
- Returns
 - An ErrCodeInfo object which holds information about the specified error code, or null, if the error code was not found.
 
 
 
◆ GetErrorInfo() [3/3]
  
  
      
        
          | static ErrCodeInfo Ict.Common.ErrorCodes.GetErrorInfo  | 
          ( | 
          string  | 
          AErrorCode,  | 
         
        
           | 
           | 
          string[]  | 
          AErrorMessagePlaceholderTexts  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Returns an ErrCodeInfo object for a specified error code. 
- Parameters
 - 
  
    | AErrorCode | Error Code. | 
    | AErrorMessagePlaceholderTexts | Array whose strings are placed into placeholders which are found in the ErrorCode's ErrorMessageText (optional Argument!) | 
  
   
. 
- Returns
 - An ErrCodeInfo object which holds information about the specified error code, or null, if the error code was not found.
 
 
 
◆ GetErrorText()
  
  
      
        
          | static string Ict.Common.ErrorCodes.GetErrorText  | 
          ( | 
          string  | 
          AErrorCode | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Returns the error text (ShortDescription) for a specified error code. 
- Parameters
 - 
  
  
 
- Returns
 - Error text (ShortDescription) for a specified error code, or System.String.Empty if the error code was not found.
 
 
 
The documentation for this class was generated from the following file: