PST .NET Class Library
Show/Hide TOC

# InvalidFileFormatException(String, Exception) Constructor

Creates a new instance of the InvalidFileFormatException class with the specified error message and inner exception.

## Definition

Namespace: Independentsoft.IO.StructuredStorage
Assembly: Independentsoft.Pst (in Independentsoft.Pst.dll) Version: 1.2.900.17830
C#

    public InvalidFileFormatException(
    	string message,
    	Exception innerException
    )

VB

    Public Sub New (
    	message As String,
    	innerException As Exception
    )

#### Parameters

message String
  The message that describes the error.
innerException Exception
  The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

## See Also

#### Reference

InvalidFileFormatException Class
InvalidFileFormatException Overload
Independentsoft.IO.StructuredStorage Namespace