AppPackageValidationException members

The exception that is thrown when there are errors validating an app package.

The AppPackageValidationException type exposes the following members.

Constructors

  Name Description
Public method AppPackageValidationException() Initializes a new instance of the AppPackageValidationException class.
Public method AppPackageValidationException(String) Initializes a new instance of the AppPackageValidationException class with a specified error message.
Public method AppPackageValidationException(String, Exception) Initializes a new instance of the AppPackageValidationException class with a specified error message and a reference to the inner exception that caused this exception.
Public method AppPackageValidationException(String, Exception, ValidationErrorContext) Initializes a new instance of the AppPackageValidationException class with a specified error message, a reference to the inner exception that caused this exception, and a context.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorCode Gets an integer that identifies the exception. (Inherited from SPException.)
Public property ErrorContext Gets or sets the ValidationErrorContext associated with this exception.
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 NativeErrorMessage Gets the native code error message that is associated with this SPException object. (Inherited from SPException.)
Public property NativeStackTrace Gets the native code stack trace associated with this SPException object. (Inherited from SPException.)
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 SPException.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

AppPackageValidationException class

Microsoft.SharePoint namespace