| Visual Basic (Declaration) | |
|---|---|
Public Event ImageFailed As ExceptionRoutedEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As ImageLoader Dim handler As ExceptionRoutedEventHandler AddHandler instance.ImageFailed, handler | |
| C# | |
|---|---|
public event ExceptionRoutedEventHandler ImageFailed | |
| Delphi | |
|---|---|
public event ImageFailed: ExceptionRoutedEventHandler; | |
| JScript | |
|---|---|
In JScript, you can handle the events defined by another class, but you cannot define your own. | |
| Managed Extensions for C++ | |
|---|---|
public: __event ExceptionRoutedEventHandler* ImageFailed | |
| C++/CLI | |
|---|---|
public: event ExceptionRoutedEventHandler^ ImageFailed | |
The event handler receives an argument of type ExceptionRoutedEventArgs containing data related to this event. The following ExceptionRoutedEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Exception | Gets or sets the Exception. |
| Handled (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| HandledBy (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| IsHandledByPrimitive (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| OriginalSource (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| RoutedEvent (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| Source (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family