[]
The exception that is thrown when a template is invalid.
public class InvalidTemplateException : Exception, ISerializable
Public Class InvalidTemplateException
Inherits Exception
Implements ISerializable
worksheet.Range["A1"].Value = "{{ds.Test(DefaultValue=GGB)}}";
try
{
workbook.ProcessTemplate();
}
catch (InvalidTemplateException exception)
{
string actualMessage = exception.Message;
}
| Name | Description |
|---|---|
| InvalidTemplateException(string) | Initializes a new instance of the InvalidTemplateException class with a specified error message. |