InvalidDataException (System.IO.InvalidDataException)

Inherits: System.SystemException

Interfaces: ISerializable, _Exception

Derived Types: 0

Assembly: System.dll

The exception that is thrown when a data stream is in an invalid format.

VB.NET C#

C#

public sealed class InvalidDataException : System.SystemException, System.Runtime.Serialization.ISerializable, System.Runtime.InteropServices._Exception
{
}

Articles

StrongNameFile Constructor (FileInfo)

... System.IO.FileNotFoundException: The file cannot be found. System.IO.InvalidDataException: The file contains invalid data.

StrongNameFile Constructor (String)

... System.IO.FileNotFoundException: The file cannot be found. System.IO.InvalidDataException: The file contains invalid data.

Feedback: DeflateStream throws exception when inflating PDF streams ...

it consistently throws System.IO.InvalidDataException: "Block length does not match with its complement." I am considering switching from .NET to Java unless there is some fix or ...

Revelations: "Block length does not match with its complement." in ...

... the repository layer of DotSVN . When I tried to use the System.IO.Compression.DeflateStream to decompress the repository, I get the exception 'System.IO.InvalidDataException'

Revelations: Search Results

When I tried to use the System.IO.Compression.DeflateStream to decompress the repository, I get the exception 'System.IO.InvalidDataException'

InvalidDataException

... ToString().Split(semicol); if (fields.Length != readonlyflags.Length) { throw new System.IO. InvalidDataException ("Mismatch on field ...

Mono Documentation

See Also: InvalidDataException Members. System.Object System.Exception System.SystemException System.IO.InvalidDataException

Mono Documentation

The members of System.IO.InvalidDataException are listed below. See Also: Inherited members from System.SystemException [ ...

Troubleshooting Exceptions: System.IO.InvalidDataException

The exception that is thrown when a compressed data stream is in a format that is not valid. ... The exception that is thrown when a compressed data stream is in a format that is ...

InvalidDataException Class (System.IO)

The exception that is thrown when a data stream is in an invalid format. ... Any public static ( Shared in Visual Basic) members of this type are thread safe.

Custom .NET Training ASP.NET Training Silverlight Training LINQ Training IT Support