Класс 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.) |
В начало
Замечания
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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.