PackageFormatException constructor (String, ParseContext)
Initializes a new instance of the class with a specified error message and a streaming context.
Namespace: Microsoft.SharePoint.BusinessData.Parser
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.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.StringThe message that describes the error.
context
Type: Microsoft.SharePoint.BusinessData.Parser.ParseContextThe streaming context that contains contextual information.
See also
Reference
PackageFormatException members