Class AttributeConversionException
An attribute value exists but cannot be converted to the requested type.
Implements
Inherited Members
Namespace: Activout.Blue5.Attributes
Assembly: Activout.Blue5.dll
Syntax
public sealed class AttributeConversionException : Exception, ISerializable
Constructors
| Edit this page View SourceAttributeConversionException(string, Type, string?, string, string)
Creates the exception.
Declaration
public AttributeConversionException(string attributeNumber, Type targetType, string? dataType, string rawValue, string reason)
Parameters
| Type | Name | Description |
|---|---|---|
| string | attributeNumber | |
| Type | targetType | |
| string | dataType | |
| string | rawValue | |
| string | reason |
Properties
| Edit this page View SourceAttributeNumber
The attribute number.
Declaration
public string AttributeNumber { get; }
Property Value
| Type | Description |
|---|---|
| string |
DataType
The PAPI data type of the attribute.
Declaration
public string? DataType { get; }
Property Value
| Type | Description |
|---|---|
| string |
RawValue
A readable rendering of the source value.
Declaration
public string RawValue { get; }
Property Value
| Type | Description |
|---|---|
| string |
TargetType
The requested type.
Declaration
public Type TargetType { get; }
Property Value
| Type | Description |
|---|---|
| Type |