Class MissingFieldException
Indicates that requested field doesn't exist.
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public sealed class MissingFieldException : ConstraintViolationException
Constructors
| Improve this Doc View SourceMissingFieldException(Type, String, Type)
Initializes a new exception indicating that requested field doesn't exist.
Declaration
public MissingFieldException(Type declaringType, string fieldName, Type fieldType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | declaringType | The inspected type. |
| String | fieldName | The name of the missing field. |
| Type | fieldType | The type of the missing field. |
Properties
| Improve this Doc View SourceFieldName
Gets name of the missing field.
Declaration
public string FieldName { get; }
Property Value
| Type | Description |
|---|---|
| String |
FieldType
Gets type of the field.
Declaration
public Type FieldType { get; }
Property Value
| Type | Description |
|---|---|
| Type |