InvalidNumberFormatException Class
- Namespace
TXTextControl.DocumentServer. Json
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXDocumentServer.from the setup.dll
- Inherits
- Exception
- Parser
Exception - Invalid
Number Format Exception
Description
Is thrown when calling the method MailMerge.MergeJsonData with a JSON string containing a number with an invalid number format.
Syntax
public class InvalidNumberFormatException : ParserExceptionPublic Class InvalidNumberFormatException
Inherits ParserExceptionExamples
The following example creates an Invalid Number Format Exception instance and configures its help link setting for a document workflow.
TXTextControl.DocumentServer.Json.InvalidNumberFormatException invalidNumberFormatException = new(10, "Quarterly report");
invalidNumberFormatException.HelpLink = "Quarterly report";Dim invalidNumberFormatException As New TXTextControl.DocumentServer.Json.InvalidNumberFormatException(10, "Quarterly report")
invalidNumberFormatException.HelpLink = "Quarterly report"Members
Constructors
| Constructor | Description |
|---|---|
| InvalidNumberFormatException | Not described in the reference. public InvalidNumberFormatException(int pos, string number); |