Table of Contents

Class CsvBindingException

Namespace
FlameCsv.Exceptions
Assembly
FlameCsv.Core.dll

Represents errors in CSV member binding configuration, such as invalid member types or fields.

public class CsvBindingException : CsvConfigurationException, ISerializable
Inheritance
CsvBindingException
Implements
Derived

Constructors

CsvBindingException(string?, Exception?)

Initializes a new instance.

public CsvBindingException(string? message = null, Exception? innerException = null)

Parameters

message string
innerException Exception

CsvBindingException(Type?, string)

Initializes a new instance.

public CsvBindingException(Type? targetType, string message)

Parameters

targetType Type
message string

Properties

Bindings

Bindings that relate to the exception (if known).

public virtual IReadOnlyList<CsvBinding> Bindings { get; }

Property Value

IReadOnlyList<CsvBinding>

TargetType

Target type of the attempted binding.

public virtual Type? TargetType { get; }

Property Value

Type