Class InvalidDataBlockFormatException
- Namespace
- Loehnert.Lisrt.Communication
- Assembly
- Loehnert.Lisrt.Communication.dll
A localizable exception for an invalid data block. E. g. data to send contain an end or start delimiter.
[Serializable]
public class InvalidDataBlockFormatException : SystemException, ISerializable, _Exception, ITranslatableException, ITranslatableText
- Inheritance
-
InvalidDataBlockFormatException
- Implements
- Inherited Members
Constructors
InvalidDataBlockFormatException()
Initializes a new instance of the InvalidDataBlockFormatException class.
public InvalidDataBlockFormatException()
InvalidDataBlockFormatException(string)
Initializes a new instance of the InvalidDataBlockFormatException class.
public InvalidDataBlockFormatException(string additionalInfo)
Parameters
additionalInfo
stringAdditional information.
Properties
Message
Gets the localized exception message.
public override string Message { get; }
Property Value
MessageNumber
Gets the message number.
public int MessageNumber { get; }
Property Value
Remarks
Equal with a ID.
Methods
Translate(CultureInfo)
Translates the text.
public string Translate(CultureInfo culture)
Parameters
culture
CultureInfoCulture for the returning message.
Returns
- string
Translated message text.