FileFormatException Constructor ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a new instance of the FileFormatException class.

Namespace:   System.IO
Assembly:  WindowsBase (in WindowsBase.dll)

public FileFormatException()

This constructor uses a default system message that describes the error, such as "An input file or a data stream does not conform to the expected file format specification." This message takes into account the current system culture.

.NET Framework
Available since 3.0
Return to top
Show: