Table of Contents

Class TemplateNotFoundException

Namespace
MailStencil
Assembly
MailStencil.Core.dll

No template exists after all valid exact culture fallback lookups return null.

public sealed class TemplateNotFoundException : Exception, ISerializable
Inheritance
TemplateNotFoundException
Implements
Inherited Members

Remarks

Provider capability, storage, validation and rendering errors remain distinct and are not wrapped.

Constructors

TemplateNotFoundException(TemplateRequest)

Creates a missing-template failure preserving the original request.

public TemplateNotFoundException(TemplateRequest request)

Parameters

request TemplateRequest

The original requested name, culture and version.

Exceptions

ArgumentNullException

The request is null.

Properties

Request

Gets the original request, before any culture fallback.

public TemplateRequest Request { get; }

Property Value

TemplateRequest