Classe ComponentUpgradeFailedException
The exception that is thrown when the PerformUpgrade method of a component fails.
Hiérarchie d'héritage
System.Object
System.Exception
System.ApplicationException
Microsoft.SqlServer.Dts.Pipeline.ComponentUpgradeFailedException
Espace de noms : Microsoft.SqlServer.Dts.Pipeline
Assembly : Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public Class ComponentUpgradeFailedException _
Inherits ApplicationException
'Utilisation
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
Le type ComponentUpgradeFailedException expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
ComponentUpgradeFailedException | Initializes a new instance of the ComponentUpgradeFailedException class with the IdentificationString of the component that failed to upgrade. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
![]() |
Data | (hérité de Exception.) |
![]() |
HelpLink | (hérité de Exception.) |
![]() |
HResult | (hérité de Exception.) |
![]() |
InnerException | (hérité de Exception.) |
![]() |
Message | (hérité de Exception.) |
![]() |
Source | (hérité de Exception.) |
![]() |
StackTrace | (hérité de Exception.) |
![]() |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetBaseException | (hérité de Exception.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetObjectData | Informations critiques de sécurité. (hérité de Exception.) |
![]() |
GetType | (hérité de Exception.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | (hérité de Exception.) |
Haut de la page
Événements
Nom | Description | |
---|---|---|
![]() |
SerializeObjectState | (hérité de Exception.) |
Haut de la page
Notes
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.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.