UnknownLiteralNameTokenException 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 - Unknown
Literal Name Token Exception
Description
Is thrown when calling the method MailMerge.MergeJsonData with a JSON string containing an unknown character sequence at a position where one of the strings "true", "false" or "null" are expected.
Syntax
public class UnknownLiteralNameTokenException : ParserExceptionPublic Class UnknownLiteralNameTokenException
Inherits ParserExceptionExamples
The following example creates an Unknown Literal Name Token Exception instance and configures its help link setting for a document workflow.
TXTextControl.DocumentServer.Json.UnknownLiteralNameTokenException unknownLiteralNameTokenException = new(10, "CustomerName");
unknownLiteralNameTokenException.HelpLink = "Quarterly report";Dim unknownLiteralNameTokenException As New TXTextControl.DocumentServer.Json.UnknownLiteralNameTokenException(10, "CustomerName")
unknownLiteralNameTokenException.HelpLink = "Quarterly report"Members
Constructors
| Constructor | Description |
|---|---|
| UnknownLiteralNameTokenException | Not described in the reference. public UnknownLiteralNameTokenException(int pos, string literalNameToken); |