共用方式為


ComponentUpgradeFailedException Class

Definition

The exception that is thrown when the PerformUpgrade(Int32) method of a component fails.

public ref class ComponentUpgradeFailedException : ApplicationException
[System.Serializable]
public class ComponentUpgradeFailedException : ApplicationException
[<System.Serializable>]
type ComponentUpgradeFailedException = class
    inherit ApplicationException
Public Class ComponentUpgradeFailedException
Inherits ApplicationException
Inheritance
ComponentUpgradeFailedException
Attributes

Remarks

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.

Constructors

ComponentUpgradeFailedException(String)

Initializes a new instance of the ComponentUpgradeFailedException class with the IdentificationString of the component that failed to upgrade.

Applies to