Table of Contents

Class MergeTemplateException

Namespace
DocWright.MailMerge
Assembly
DocWright.MailMerge.dll

A merge template is malformed in a way that has no sensible partial answer.

public sealed class MergeTemplateException : DocWrightException, ISerializable
Inheritance
MergeTemplateException
Implements
Inherited Members

Remarks

Reserved for structural faults in the template — an unbalanced or crossed region marker — not for data problems. A missing value, a null, or a field name the data does not carry are all ordinary and reported through MergeResult instead.

Constructors

MergeTemplateException()

Initializes a new instance of the MergeTemplateException class.

MergeTemplateException(string)

Initializes a new instance of the MergeTemplateException class.

MergeTemplateException(string, Exception)

Initializes a new instance of the MergeTemplateException class.

MergeTemplateException(string, string?)

Initializes a new instance of the MergeTemplateException class naming the region at fault.

Properties

RegionName

Gets the region the fault is in, when the fault is region-shaped.