ProviderNotFoundException

Namespace: Proffer.Templating.Exceptions

Thrown when a matching provider was not found for a given template.

public class ProviderNotFoundException : System.Exception, System.Runtime.Serialization.ISerializable

Inheritance ObjectExceptionProviderNotFoundException
Implements ISerializable

Properties

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

StackTrace

public string StackTrace { get; }

Property Value

String

Message

public string Message { get; }

Property Value

String

Data

public IDictionary Data { get; }

Property Value

IDictionary

InnerException

public Exception InnerException { get; }

Property Value

Exception

public string HelpLink { get; set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

HResult

public int HResult { get; set; }

Property Value

Int32

Constructors

ProviderNotFoundException(String, String, String)

Initializes a new instance of the ProviderNotFoundException class.

public ProviderNotFoundException(string templateName, string extension, string contentType)

Parameters

templateName String
The name of the unmatched template.

extension String
The extension of the unmatched template.

contentType String
The MIME type of the unmatched template.