Share via


PackageFormatException Constructor (String, Exception)

Initializes a new instance of the class with a specified error message, which is a reference to the inner exception that caused this exception.

Namespace:  Microsoft.Office.BusinessData.Parser
Assembly:  Microsoft.Office.BusinessData (in Microsoft.Office.BusinessData.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    inner As Exception _
)
'Usage
Dim message As String
Dim inner As Exception

Dim instance As New PackageFormatException(message, _
    inner)
public PackageFormatException(
    string message,
    Exception inner
)

Parameters

  • message
    Type: System.String
    The message that describes the error.
  • inner
    Type: System.Exception
    The exception that is the cause of the current exception.

See Also

Reference

PackageFormatException Class

PackageFormatException Members

PackageFormatException Overload

Microsoft.Office.BusinessData.Parser Namespace