共用方式為


PackageFormatException Members

Include Protected Members
Include Inherited Members

Represents the error 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 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

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property Errors Gets the list of errors encountered during import of the model up to the moment when the exception was thrown.
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 Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
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.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Creates and returns a string representation of the current exception object. (Overrides Exception.ToString().)

Top

See Also

Reference

PackageFormatException Class

Microsoft.SharePoint.BusinessData.Parser Namespace