Class
MissingTemplatePartException

Represents an exception raised when a template part, as defined by the template contract, is missing during template initialization.

Definition

Namespace:Telerik.UI.Xaml.Controls

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class MissingTemplatePartException : Exception, ISerializable

Inheritance: objectExceptionMissingTemplatePartException

Implements: ISerializable

Inherited Members Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.TargetSiteException.MessageException.DataException.InnerExceptionException.HelpLinkException.SourceException.HResultException.StackTraceException.SerializeObjectState

Constructors

MissingTemplatePartException(string, Type)

Initializes a new instance of the MissingTemplatePartException class.

Declaration

cs-api-definition
public MissingTemplatePartException(string name, Type type)

Parameters

name

string

The name of the missing part.

type

Type

The type of the missing part.

Properties

PartName

Gets the name of the missing part.

Declaration

cs-api-definition
public string PartName { get; }

Property Value

string

PartType

Gets the type of the missing part.

Declaration

cs-api-definition
public Type PartType { get; }

Property Value

Type