Class ErrorMessages
Localized error messages. This is a static only class.
Inheritance
System.Object
ErrorMessages
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class ErrorMessages
Fields
DEFAULT_LANGUAGE
Declaration
public static string DEFAULT_LANGUAGE
Field Value
Type | Description |
---|---|
System.String |
Methods
GetErrorMessage(ResultCode, Terminal)
Declaration
public static string GetErrorMessage(ResultCode resultCode, Terminal terminal)
Parameters
Type | Name | Description |
---|---|---|
ResultCode | resultCode | |
Terminal | terminal |
Returns
Type | Description |
---|---|
System.String |
GetErrorMessage(ResultCode, String)
Gets the error message.
Declaration
public static string GetErrorMessage(ResultCode resultCode, string language)
Parameters
Type | Name | Description |
---|---|---|
ResultCode | resultCode | resultCode Result code to get error message for. |
System.String | language | Language code to get error message for. If no entry for language is found the default error message is returned. |
Returns
Type | Description |
---|---|
System.String | System.String. |