Condividi tramite


Classe ComponentVersionMismatchException

The exception that is thrown when the component version stored in the package XML is higher than the version of the component installed on the current computer.

Gerarchia di ereditarietà

System. . :: . .Object
  System. . :: . .Exception
    System. . :: . .ApplicationException
      Microsoft.SqlServer.Dts.Pipeline..::..ComponentVersionMismatchException

Spazio dei nomi  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public Class ComponentVersionMismatchException _
    Inherits ApplicationException
'Utilizzo
Dim instance As ComponentVersionMismatchException
[SerializableAttribute]
public class ComponentVersionMismatchException : ApplicationException
[SerializableAttribute]
public ref class ComponentVersionMismatchException : public ApplicationException
[<SerializableAttribute>]
type ComponentVersionMismatchException =  
    class
        inherit ApplicationException
    end
public class ComponentVersionMismatchException extends ApplicationException

Nel tipo ComponentVersionMismatchException sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ComponentVersionMismatchException Initializes a new instance of the ComponentVersionMismatchException class with the IdentificationString of the mismatched component.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Data Ereditato da Exception.
Proprietà pubblica HelpLink Ereditato da Exception.
Proprietà protetta HResult Ereditato da Exception.
Proprietà pubblica InnerException Ereditato da Exception.
Proprietà pubblica Message Ereditato da Exception.
Proprietà pubblica Source Ereditato da Exception.
Proprietà pubblica StackTrace Ereditato da Exception.
Proprietà pubblica TargetSite Ereditato da Exception.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetBaseException Ereditato da Exception.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetObjectData Ereditato da Exception.
Metodo pubblico GetType Ereditato da Exception.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Exception.

In alto

Osservazioni

When the version of a component stored in the package XML is less than the version of the component on the computer, the PerformUpgrade method is called providing the component the ability to upgrade.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.