SerializationException
Exceptions · AiDotNet.Exceptions
Exception thrown when serialization or deserialization operations fail.
Inheritance: Exception → AiDotNetException → SerializationException
Constructors
| Constructor | Summary |
|---|---|
SerializationException() |
Creates a new instance of the SerializationException class. |
SerializationException(string message) |
Creates a new instance of the SerializationException class with a specified error message. |
SerializationException(string message, Exception innerException) |
Creates a new instance of the SerializationException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
SerializationException(string message, string component, string operation) |
Creates a new instance of the SerializationException class with a specified error message and context information about where the exception occurred. |
SerializationException(string message, string component, string operation, Exception innerException) |
Creates a new instance of the SerializationException class with a specified error message, context information, and a reference to the inner exception. |
Properties
| Property | Summary |
|---|---|
string Component { get; } |
The component where the serialization error occurred. |
string Operation { get; } |
The operation being performed when the error was detected. |