InvalidExtensionPackageException Class

 

Exception thrown when a VSIX package is invalid.

Namespace:   Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

System::Object
  System::Exception
    Microsoft.VisualStudio.ExtensionManager::ExtensionManagerException
      Microsoft.VisualStudio.ExtensionManager::InvalidExtensionPackageException

public ref class InvalidExtensionPackageException : ExtensionManagerException

NameDescription
System_CAPS_pubmethodInvalidExtensionPackageException()

Creates an InvalidExtensionPackageException instance.

System_CAPS_pubmethodInvalidExtensionPackageException(String^)

Creates an InvalidExtensionPackageException instance that has an error message.

System_CAPS_pubmethodInvalidExtensionPackageException(String^, Exception^)

Creates an InvalidExtensionPackageException instance that has an error message and exposes the inner exception.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyErrorCode
System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

(Inherited from Exception.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo^, StreamingContext)

(Inherited from Exception.)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Exception.)

NameDescription
System_CAPS_proteventSerializeObjectState

(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.

Return to top
Show: