FileFormatException (System.IO.FileFormatException)

Inherits: System.FormatException

Interfaces: ISerializable, _Exception

Derived Types: 0

Assembly: WindowsBase.dll

The exception that is thrown when an input file or a data stream that is supposed to conform to a certain file format specification is malformed.

VB.NET C#

C#

public class FileFormatException : System.FormatException, System.Runtime.Serialization.ISerializable, System.Runtime.InteropServices._Exception
{
}

Articles

Gallery Server Pro Forum

C:\Documents and Settings\sam.munn\Desktop\test.xps Application Identity: System.IO.FileFormatException: File contains corrupted data. at MS.Internal.IO.Zip ...

bharry's WebLog : More Transparency

System.IO.FileFormatException: Archive file cannot be size 0. at MS.Internal.IO.Zip.ZipArchive.OpenOnStream(Stream stream, FileMode mode, FileAccess access, Boolean streaming)

FormatException Class (System)

The exception that is thrown when the format of an argument does not meet ... System.Reflection . . :: . CustomAttributeFormatException          System.IO . . :: . FileFormatException

Troubleshooting Exceptions: System.IO.FileFormatException

A T:System.IO.FileFormatException exception is thrown when an input file or a data stream that is supposed to comply with a certain file format specification is malformed.

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