| Visual Basic (Declaration) | |
|---|---|
Public Event UploadCancelled As UploadCancelledEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As UXFileUpload Dim handler As UploadCancelledEventHandler AddHandler instance.UploadCancelled, handler | |
| C# | |
|---|---|
public event UploadCancelledEventHandler UploadCancelled | |
| Delphi | |
|---|---|
public event UploadCancelled: UploadCancelledEventHandler; | |
| JScript | |
|---|---|
In JScript, you can handle the events defined by another class, but you cannot define your own. | |
| Managed Extensions for C++ | |
|---|---|
public: __event UploadCancelledEventHandler* UploadCancelled | |
| C++/CLI | |
|---|---|
public: event UploadCancelledEventHandler^ UploadCancelled | |
The event handler receives an argument of type UploadCancelledEventArgs containing data related to this event. The following UploadCancelledEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| CancelledFiles | Gets the collection of files that were not uploaded due to errors. |
| 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) | |
| SelectedFiles (Inherited from Intersoft.Client.UI.Aqua.UXInput.UploadEventArgs) | Gets the selected files to upload. |
| Session (Inherited from Intersoft.Client.UI.Aqua.UXInput.UploadEventArgs) | Gets the current session of the uploading process. |
| 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