RequiredAttributeMissingException Class

An exception that is thrown when an attribute with the specified name cannot be found for a specific property.

Namespace: DevExpress.Xpo.Exceptions

Assembly: DevExpress.Xpo.v21.1.dll

Declaration

public class RequiredAttributeMissingException :
    Exception

Remarks

This exception is raised when a property doesn’t contain a specific attribute. Use the exception object’s data to get the name of the property and attribute.

Solution:

- add the specified attribute to the property;

- ensure that an appropriate property is used (use the Stack Trace to locate the problem code).

Inheritance

Object
Exception
RequiredAttributeMissingException
See Also