Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FileFormatException Constructor ()

 

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:
© 2017 Microsoft