次の方法で共有


TemplateControl.Error イベント

未処理の例外がスローされると発生します。

名前空間: System.Web.UI
アセンブリ: System.Web (system.web.dll 内)

構文

'宣言
Public Event Error As EventHandler
'使用
Dim instance As TemplateControl
Dim handler As EventHandler

AddHandler instance.Error, handler
public event EventHandler Error
public:
event EventHandler^ Error {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
/** @event */
public void add_Error (EventHandler value)

/** @event */
public void remove_Error (EventHandler value)
JScript では、このクラスで定義されているイベントを処理できます。ただし、独自のイベントは定義できません。
適用できません。

プラットフォーム

Windows 98,Windows Server 2000 SP4,Windows CE,Windows Millennium Edition,Windows Mobile for Pocket PC,Windows Mobile for Smartphone,Windows Server 2003,Windows XP Media Center Edition,Windows XP Professional x64 Edition,Windows XP SP2,Windows XP Starter Edition

Microsoft .NET Framework 3.0 は Windows Vista,Microsoft Windows XP SP2,および Windows Server 2003 SP1 でサポートされています。

バージョン情報

.NET Framework

サポート対象 : 3.0,2.0,1.1,1.0

参照

関連項目

TemplateControl クラス
TemplateControl メンバ
System.Web.UI 名前空間
TemplateControl.AbortTransaction イベント
TemplateControl.CommitTransaction イベント