Class ProjectSerializationException
- Namespace
- CADability
- Assembly
- CADability.dll
Exception for errors when a project file is read, e.g. a file written by a newer version of CADability. ResourceId names the entry of the StringTable with the message for the user. ReadFromFile(string) catches it and returns null. The current code does not throw it itself, it remains for projects or deserialization constructors of user objects that do.
public class ProjectSerializationException : SerializationException, ISerializable
- Inheritance
-
ProjectSerializationException
- Implements
- Inherited Members
Constructors
ProjectSerializationException(string)
Creates the exception.
public ProjectSerializationException(string resourceId)
Parameters
resourceIdstringThe id of the message for the user in the StringTable, may be null
Properties
ResourceId
The id of the message for the user in the StringTable (see GetString(string)), or null if there is none.
public string ResourceId { get; }