Classe ComponentUpgradeFailedException
The exception that is thrown when the PerformUpgrade method of a component fails.
Hierarquia de herança
System.Object
System.Exception
System.ApplicationException
Microsoft.SqlServer.Dts.Pipeline.ComponentUpgradeFailedException
Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (em Microsoft.SqlServer.PipelineHost.dll)
Sintaxe
'Declaração
<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
O tipo ComponentUpgradeFailedException expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
ComponentUpgradeFailedException | Initializes a new instance of the ComponentUpgradeFailedException class with the IdentificationString of the component that failed to upgrade. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Data | (Herdado de Exception.) | |
HelpLink | (Herdado de Exception.) | |
HResult | (Herdado de Exception.) | |
InnerException | (Herdado de Exception.) | |
Message | (Herdado de Exception.) | |
Source | (Herdado de Exception.) | |
StackTrace | (Herdado de Exception.) | |
TargetSite | (Herdado de Exception.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetBaseException | (Herdado de Exception.) | |
GetHashCode | (Herdado de Object.) | |
GetObjectData | Segurança crítica. (Herdado de Exception.) | |
GetType | (Herdado de Exception.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Exception.) |
Início
Eventos
Nome | Descrição | |
---|---|---|
SerializeObjectState | (Herdado de Exception.) |
Início
Comentários
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.
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.