Поделиться через


Класс 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.

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Dts.Pipeline
Сборка:  Microsoft.SqlServer.PipelineHost (в Microsoft.SqlServer.PipelineHost.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public Class ComponentVersionMismatchException _
    Inherits ApplicationException
'Применение
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

Тип ComponentVersionMismatchException обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ComponentVersionMismatchException Initializes a new instance of the ComponentVersionMismatchException class with the IdentificationString of the mismatched component.

В начало

Свойства

  Имя Описание
Открытое свойство Data (Производный от Exception.)
Открытое свойство HelpLink (Производный от Exception.)
Открытое свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message (Производный от Exception.)
Открытое свойство Source (Производный от Exception.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData Важный элемент безопасности. (Производный от Exception.)
Открытый метод GetType (Производный от Exception.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Exception.)

В начало

События

  Имя Описание
Защищенное событие SerializeObjectState (Производный от Exception.)

В начало

Замечания

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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dts.Pipeline