System
2.0.0.0
4.0.0.0
System.SystemException
An is thrown when invalid data is detected in the data stream.
The exception that is thrown when a data stream is in an invalid format.
Constructor
2.0.0.0
4.0.0.0
This constructor initializes the property of the new instance to a system-supplied message that describes the error, such as "An invalid argument was specified." This message is localized based on the current system culture.
Initializes a new instance of the class.
Constructor
2.0.0.0
4.0.0.0
This constructor initializes the property of the new instance to a system-supplied message that describes the error, such as "An invalid argument was specified." This message is localized based on the current system culture.
Initializes a new instance of the class with a specified error message.
The error message that explains the reason for the exception.
Constructor
2.0.0.0
4.0.0.0
This constructor initializes the property of the new instance using the value of the parameter. The content of the parameter is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the property. The property returns the same value that is passed into the constructor, or null if the property does not supply the inner exception value to the constructor.
Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception.