Compartir a través de


Clase ComponentVersionMismatchException

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.

Jerarquía de herencia

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SqlServer.Dts.Pipeline.ComponentVersionMismatchException

Espacio de nombres:  Microsoft.SqlServer.Dts.Pipeline
Ensamblado:  Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
Public Class ComponentVersionMismatchException _
    Inherits ApplicationException
'Uso
Dim instance As ComponentVersionMismatchException
[SerializableAttribute]
public class ComponentVersionMismatchException : ApplicationException
[SerializableAttribute]
public ref class ComponentVersionMismatchException : public ApplicationException
[<SerializableAttribute>]
type ComponentVersionMismatchException =  
    class 
        inherit ApplicationException 
    end
public class ComponentVersionMismatchException extends ApplicationException

El tipo ComponentVersionMismatchException expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público ComponentVersionMismatchException Initializes a new instance of the ComponentVersionMismatchException class with the IdentificationString of the mismatched component.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Data (Se hereda de Exception.)
Propiedad pública HelpLink (Se hereda de Exception.)
Propiedad pública HResult (Se hereda de Exception.)
Propiedad pública InnerException (Se hereda de Exception.)
Propiedad pública Message (Se hereda de Exception.)
Propiedad pública Source (Se hereda de Exception.)
Propiedad pública StackTrace (Se hereda de Exception.)
Propiedad pública TargetSite (Se hereda de Exception.)

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetBaseException (Se hereda de Exception.)
Método público GetHashCode (Se hereda de Object.)
Método público GetObjectData Importante para la seguridad. (Se hereda de Exception.)
Método público GetType (Se hereda de Exception.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público ToString (Se hereda de Exception.)

Arriba

Eventos

  Nombre Descripción
Evento protegido SerializeObjectState (Se hereda de Exception.)

Arriba

Comentarios

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.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Dts.Pipeline