Class LocalizableException
Exception that carries a localization key and format arguments, enabling display of error messages in the user's preferred language.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Utilities
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class LocalizableException : Exception, ISerializable, _Exception
Constructors
LocalizableException()
Initializes a new instance of the LocalizableException class.
Declaration
public LocalizableException()
LocalizableException(String)
Initializes a new instance of the LocalizableException class.
Declaration
public LocalizableException(string message)
Parameters
|
System.String
message
The message. |
LocalizableException(String, Exception)
Initializes a new instance of the LocalizableException class.
Declaration
public LocalizableException(string message, Exception innerException)
Parameters
|
System.String
message
The message. |
|
System.Exception
innerException
The inner exception. |
LocalizableException(String, Exception, String, String[])
Initializes a new instance of the LocalizableException class.
Declaration
public LocalizableException(string message, Exception innerException, string key, string[] formatStringArguments = null)
Parameters
|
System.String
message
The message. |
|
System.Exception
innerException
The inner exception. |
|
System.String
key
The key. |
|
System.String[]
formatStringArguments
The format string arguments. |
LocalizableException(String, String, String[])
Initializes a new instance of the LocalizableException class.
Declaration
public LocalizableException(string message, string key, string[] formatStringArguments = null)
Parameters
|
System.String
message
The message. |
|
System.String
key
The key. |
|
System.String[]
formatStringArguments
The format string arguments. |
Properties
FormatStringArguments
Arguments used to format the localized error message template, providing contextual values like parameter names or values.
Declaration
public string[] FormatStringArguments { get; }
Property Value
|
System.String[]
The format string arguments. |
LocalizationKey
The key used to retrieve the localized error message from a resource dictionary.
Declaration
public string LocalizationKey { get; protected set; }
Property Value
|
System.String
The localization key. |