ComponentUpgradeFailedException-Klasse
The exception that is thrown when the PerformUpgrade method of a component fails.
Vererbungshierarchie
System. . :: . .Object
System. . :: . .Exception
System. . :: . .ApplicationException
Microsoft.SqlServer.Dts.Pipeline..::..ComponentUpgradeFailedException
Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class ComponentUpgradeFailedException _
Inherits ApplicationException
'Usage
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
Der ComponentUpgradeFailedException-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
ComponentUpgradeFailedException | Initializes a new instance of the ComponentUpgradeFailedException class with the IdentificationString of the component that failed to upgrade. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
Data | (Geerbt von Exception.) | |
HelpLink | (Geerbt von Exception.) | |
HResult | (Geerbt von Exception.) | |
InnerException | (Geerbt von Exception.) | |
Message | (Geerbt von Exception.) | |
Source | (Geerbt von Exception.) | |
StackTrace | (Geerbt von Exception.) | |
TargetSite | (Geerbt von Exception.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetBaseException | (Geerbt von Exception.) | |
GetHashCode | (Geerbt von Object.) | |
GetObjectData | (Geerbt von Exception.) | |
GetType | (Geerbt von Exception.) | |
MemberwiseClone | (Geerbt von Object.) | |
ToString | (Geerbt von Exception.) |
Zum Anfang
Hinweise
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.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.