PackageFormatException Constructor (String, Exception, ParseContext)

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

Namespace:  Microsoft.SharePoint.BusinessData.Administration.Client
Assembly:  Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.dll)

Syntax

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

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

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.SharePoint.BusinessData.Administration.Client Namespace