Class SymbolEncodingException
Thrown when a value cannot be encoded as the requested symbol: for example text too long for a QR code at the chosen error correction, a letter in an EAN-13, or a wrong check digit.
public sealed class SymbolEncodingException : ArgumentException, ISerializable
- Inheritance
-
SymbolEncodingException
- Implements
- Inherited Members
Remarks
Use the services' TryEncode methods to check a value without catching this.
Constructors
SymbolEncodingException(string)
Initializes a new instance of the SymbolEncodingException class.
public SymbolEncodingException(string message)
Parameters
messagestringThe message that describes why the value cannot be encoded.