ComponentUpgradeFailedException クラス

定義

コンポーネントの PerformUpgrade(Int32) メソッドが失敗するとスローされる例外です。

public ref class ComponentUpgradeFailedException : ApplicationException
[System.Serializable]
public class ComponentUpgradeFailedException : ApplicationException
[<System.Serializable>]
type ComponentUpgradeFailedException = class
    inherit ApplicationException
Public Class ComponentUpgradeFailedException
Inherits ApplicationException
継承
ComponentUpgradeFailedException
属性

注釈

パッケージ XML に格納されている、CurrentVersion プロパティで指定されたコンポーネントのバージョンが、ローカル コンピューターのコンポーネントの CurrentVersion プロパティより低い場合、PerformUpgrade が呼び出されます。 このメソッドにより、コンポーネントは、現在のバージョンと一致するよう、パッケージ XML の IDTSComponentMetaData100 をアップグレードすることができます。 コンポーネントが PerformUpgrade の基本クラス実装をオーバーライドしなかったり、このメソッドのコンポーネントの実装中に例外が発生すると、ComponentUpgradeFailedException がスローされます。

コンストラクター

ComponentUpgradeFailedException(String)

アップグレードに失敗したコンポーネントの ComponentUpgradeFailedException で、IdentificationString クラスの新しいインスタンスを初期化します。

適用対象