System.IO.InvalidDataException
The exception that is thrown when a data stream is in an invalid format.
public InvalidDataException()
Initializes a new instance of the InvalidDataException class.
Initializes a new instance of the InvalidDataException class with a specified error message.
Initializes a new instance of the InvalidDataException class with a reference to the inner exception that is the cause of this exception.