PackageFormatException members

Include protected members
Include inherited members

Represents the exception that is thrown when a structure-related problem is encountered during the import of a metadata XML file.

The PackageFormatException type exposes the following members.

Constructors

  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 a streaming context.
Protected method PackageFormatException(SerializationInfo, StreamingContext) Initializes a new instance of the class with serialized data.
Public method PackageFormatException(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.
Public method PackageFormatException(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.
Public method PackageFormatException(String, Exception, ParseContext) Initializes a new instance of the class with a specified error message, which is a reference to the inner exception that caused this exception, and the streaming context.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property Errors Gets the list of error messages.
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property ServerStackTrace Gets or sets the server stack trace.
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method GetBaseException (Inherited from Exception.)
Public method GetObjectData Gets the object data by using the serialization information and the streaming context. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Public method ToString Creates and returns a string representation of the current exception object. (Overrides Exception.ToString().)

Top

See also

Reference

PackageFormatException class

Microsoft.Office.BusinessData.Parser namespace