ComponentUpgradeFailedException Class
The exception that is thrown when the PerformUpgrade method of a component fails.
System.Object
System.Exception
System.ApplicationException
Microsoft.SqlServer.Dts.Pipeline.ComponentUpgradeFailedException
System.Exception
System.ApplicationException
Microsoft.SqlServer.Dts.Pipeline.ComponentUpgradeFailedException
Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)
The ComponentUpgradeFailedException type exposes the following members.
| Name | Description | |
|---|---|---|
|
ComponentUpgradeFailedException | Initializes a new instance of the ComponentUpgradeFailedException class with the IdentificationString of the component that failed to upgrade. |
| Name | Description | |
|---|---|---|
|
Data | (Inherited from Exception.) |
|
HelpLink | (Inherited from Exception.) |
|
HResult | (Inherited from Exception.) |
|
InnerException | (Inherited from Exception.) |
|
Message | (Inherited from Exception.) |
|
Source | (Inherited from Exception.) |
|
StackTrace | (Inherited from Exception.) |
|
TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetBaseException | (Inherited from Exception.) |
|
GetHashCode | (Inherited from Object.) |
|
GetObjectData | (Inherited from Exception.) |
|
GetType | (Inherited from Exception.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Exception.) |
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.