Clase ComponentUpgradeFailedException
The exception that is thrown when the PerformUpgrade method of a component fails.
Jerarquía de herencia
System.Object
System.Exception
System.ApplicationException
Microsoft.SqlServer.Dts.Pipeline.ComponentUpgradeFailedException
Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline
Ensamblado: Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)
Sintaxis
'Declaración
<SerializableAttribute> _
Public Class ComponentUpgradeFailedException _
Inherits ApplicationException
'Uso
Dim instance As ComponentUpgradeFailedException
[SerializableAttribute]
public class ComponentUpgradeFailedException : ApplicationException
[SerializableAttribute]
public ref class ComponentUpgradeFailedException : public ApplicationException
[<SerializableAttribute>]
type ComponentUpgradeFailedException =
class
inherit ApplicationException
end
public class ComponentUpgradeFailedException extends ApplicationException
El tipo ComponentUpgradeFailedException expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
ComponentUpgradeFailedException | Initializes a new instance of the ComponentUpgradeFailedException class with the IdentificationString of the component that failed to upgrade. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
Data | (Se hereda de Exception.) | |
HelpLink | (Se hereda de Exception.) | |
HResult | (Se hereda de Exception.) | |
InnerException | (Se hereda de Exception.) | |
Message | (Se hereda de Exception.) | |
Source | (Se hereda de Exception.) | |
StackTrace | (Se hereda de Exception.) | |
TargetSite | (Se hereda de Exception.) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
Finalize | (Se hereda de Object.) | |
GetBaseException | (Se hereda de Exception.) | |
GetHashCode | (Se hereda de Object.) | |
GetObjectData | Importante para la seguridad. (Se hereda de Exception.) | |
GetType | (Se hereda de Exception.) | |
MemberwiseClone | (Se hereda de Object.) | |
ToString | (Se hereda de Exception.) |
Arriba
Eventos
Nombre | Descripción | |
---|---|---|
SerializeObjectState | (Se hereda de Exception.) |
Arriba
Comentarios
When the version of a component, specified by the CurrentVersion property, that is stored in the package XML is less than the CurrentVersion property of the component on the local computer, PerformUpgrade is called. This method gives the component the opportunity to upgrade the IDTSComponentMetaData100 in the package XML to match the current version. If the component does not override the base class implementation of PerformUpgrade or if an exception occurs during the component's implementation of this method, then ComponentUpgradeFailedException is thrown.
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.