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 Object → Exception → ProviderNotFoundException
Implements ISerializable
Properties
TargetSite
public MethodBase TargetSite { get; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
Message
public string Message { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
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.