PackageFormatException Constructor (String, ParseContext)
Initializes a new instance of the class with a specified error message and 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, _
context As ParseContext _
)
'Usage
Dim message As String
Dim context As ParseContext
Dim instance As New PackageFormatException(message, _
context)
public PackageFormatException(
string message,
ParseContext context
)
Parameters
- message
Type: System.String
The message that describes the error.
- context
Type: Microsoft.Office.BusinessData.Parser.ParseContext
The exception that is the cause of the current exception.
See Also
Reference
PackageFormatException Members