C1.Silverlight.Uploader Namespace > C1Uploader Class : UploadCompleted Event |
'Declaration
Public Event UploadCompleted As System.EventHandler(Of UploadCompletedEventArgs)
'Usage
Dim instance As C1Uploader Dim handler As System.EventHandler(Of UploadCompletedEventArgs) AddHandler instance.UploadCompleted, handler
public event System.EventHandler<UploadCompletedEventArgs> UploadCompleted
public event UploadCompleted: System.EventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.EventHandler<UploadCompletedEventArgs*>* UploadCompleted
public: event System.EventHandler<UploadCompletedEventArgs^>^ UploadCompleted
The event handler receives an argument of type UploadCompletedEventArgs containing data related to this event. The following UploadCompletedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancelled | (Inherited from System.ComponentModel.AsyncCompletedEventArgs) |
Error | (Inherited from System.ComponentModel.AsyncCompletedEventArgs) |
Files | Array of names of the files uploaded |
Response | Response returned by the server in the message body. |
Success | True if all the files were uploaded successfully. |
UserState | (Inherited from System.ComponentModel.AsyncCompletedEventArgs) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2