PackageFormatException constructor

Initializes a new instance of the class by using various options.

Overload list

  Name Description
Public method PackageFormatException() Initializes a new instance of the class.
Public method PackageFormatException(String) Initializes a new instance of the class with a specified error message.
Public method PackageFormatException(ParseContext) Initializes a new instance of the class with serialized data.
Protected method PackageFormatException(SerializationInfo, StreamingContext) Gets the object data by using the serialization information and the streaming context.
Public method PackageFormatException(String, ParseContext) Initializes a new instance of the class with a specified error message and a streaming context.
Public method PackageFormatException(String, Exception) Initializes a new instance of the class with a specified error message and a reference to the inner exception that caused this exception.
Public method PackageFormatException(String, Exception, ParseContext) Initializes a new instance of the class with a specified error message, a reference to the inner exception that caused this exception, and the streaming context.

Top

See also

Reference

PackageFormatException class

PackageFormatException members

Microsoft.SharePoint.BusinessData.Parser namespace