Represents the exception that is thrown during template processing when one of the references of the template is not found in the References section.

The following tables list the members exposed by the UndeclaredTemplateReferenceException type.

Public Constructors (see also Protected Constructors)

  Name Description
UndeclaredTemplateReferenceException Overloaded. Initializes a new UndeclaredTemplateReferenceException object.

Protected Constructors

  Name Description
UndeclaredTemplateReferenceException Overloaded.  

Public Properties (see also Protected Properties)

  Name Description
public property Data  (inherited from Exception)
public property HelpLink  (inherited from Exception)
public property InnerException  (inherited from Exception)
public property Message  (inherited from Exception)
public property ReferenceName Gets the name of the reference that was not found.
public property Source  (inherited from Exception)
public property StackTrace  (inherited from Exception)
public property TargetSite  (inherited from Exception)

Protected Properties

  Name Description
protected property HResult  (inherited from Exception)

Public Methods (see also Protected Methods)

  Name Description
public method Equals  Overloaded. (inherited from Object)
public method GetBaseException  (inherited from Exception)
public method GetHashCode  (inherited from Object)
public method GetObjectData Overridden. Sets the SerializationInfo object with information about the exception.
public method GetType  (inherited from Exception)
public methodstatic ReferenceEquals  (inherited from Object)
public method ToString Overridden. Returns a string that describes the error in the exception.

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)

See Also

Send comments about this topic to Microsoft.