PropertyAlreadyRegisteredException

Name Value
Assembly Catel.Core
Namespace Catel.Data
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public class PropertyAlreadyRegisteredException : Exception

Base types Exception

Exception when a property is added to the ModelBase class that is already registered by the object.

Constructors

PropertyAlreadyRegisteredException(string propertyName, Type propertyType)

Initializes a new instance of the PropertyAlreadyRegisteredException class.

Parameters

Name Description
propertyName Name of the property that caused the exception.
propertyType Type of the object that is trying to register the property.

Properties

PropertyName

Gets or sets the property name.

PropertyType

Gets or sets the property type for which the property is already registered.


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion