InvalidExtensionPackageException Class
Exception thrown when a VSIX package is invalid.
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
System::Exception
Microsoft.VisualStudio.ExtensionManager::ExtensionManagerException
Microsoft.VisualStudio.ExtensionManager::InvalidExtensionPackageException
| Name | Description | |
|---|---|---|
![]() | InvalidExtensionPackageException() | Creates an InvalidExtensionPackageException instance. |
![]() | InvalidExtensionPackageException(String^) | Creates an InvalidExtensionPackageException instance that has an error message. |
![]() | InvalidExtensionPackageException(String^, Exception^) | Creates an InvalidExtensionPackageException instance that has an error message and exposes the inner exception. |
| Name | Description | |
|---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | ErrorCode | (Overrides ExtensionManagerException::ErrorCode.) |
![]() | HelpLink | (Inherited from Exception.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | Message | (Inherited from Exception.) |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | (Inherited from Exception.) |
![]() | GetType() | (Inherited from Exception.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | SerializeObjectState | (Inherited from Exception.) |
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
This exception is triggered when a VSIX package is unreadable, or when both a VSIX manifest and a VSIX Language Pack manifest are found in the same package.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



