ComponentVersionMismatchException Class

The exception that is thrown when the component version stored in the package XML is higher than the version of the component installed on the current computer.

Inheritance Hierarchy


Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)


<SerializableAttribute> _
Public Class ComponentVersionMismatchException _
    Inherits ApplicationException
Dim instance As ComponentVersionMismatchException
public class ComponentVersionMismatchException : ApplicationException
public ref class ComponentVersionMismatchException : public ApplicationException
type ComponentVersionMismatchException =  
        inherit ApplicationException
public class ComponentVersionMismatchException extends ApplicationException

The ComponentVersionMismatchException type exposes the following members.


  Name Description
Public method ComponentVersionMismatchException Initializes a new instance of the ComponentVersionMismatchException class with the IdentificationString of the mismatched component.



  Name Description
Public property Data (Inherited from 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 Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)



  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 (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)



When the version of a component stored in the package XML is less than the version of the component on the computer, the PerformUpgrade method is called providing the component the ability to upgrade.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.