Uploader for Silverlight
UploadCompletedEventArgs Constructor






True if all the files were uploaded successfully
True if the user cancelled the request
Exception returned if something was wrong
Array of names of the files uploaded
Response returned by the server in the message body
Additional information attached by the user
Initializes a new instance of a UploadCompletedEventArgs.
Syntax
'Declaration
 
Public Function New( _
   ByVal success As System.Boolean, _
   ByVal cancelled As System.Boolean, _
   ByVal error As System.Exception, _
   ByVal files() As System.String, _
   ByVal response As System.Object, _
   ByVal userState As System.Object _
)
'Usage
 
Dim success As System.Boolean
Dim cancelled As System.Boolean
Dim error As System.Exception
Dim files() As System.String
Dim response As System.Object
Dim userState As System.Object
 
Dim instance As New UploadCompletedEventArgs(success, cancelled, error, files, response, userState)
public UploadCompletedEventArgs( 
   System.bool success,
   System.bool cancelled,
   System.Exception error,
   System.string[] files,
   System.object response,
   System.object userState
)
public UploadCompletedEventArgs( 
    success: System.Boolean;
    cancelled: System.Boolean;
    error: System.Exception;
    files: System.Stringarray of;
    response: System.TObject;
    userState: System.TObject
); 
public function UploadCompletedEventArgs( 
   success : System.boolean,
   cancelled : System.boolean,
   error : System.Exception,
   files : System.String[],
   response : System.Object,
   userState : System.Object
);
public: UploadCompletedEventArgs( 
   System.bool success,
   System.bool cancelled,
   System.Exception* error,
   System.string*[]* files,
   System.Object* response,
   System.Object* userState
)
public:
UploadCompletedEventArgs( 
   System.bool success,
   System.bool cancelled,
   System.Exception^ error,
   System.array<String^>^ files,
   System.Object^ response,
   System.Object^ userState
)

Parameters

success
True if all the files were uploaded successfully
cancelled
True if the user cancelled the request
error
Exception returned if something was wrong
files
Array of names of the files uploaded
response
Response returned by the server in the message body
userState
Additional information attached by the user
Requirements

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

See Also

Reference

UploadCompletedEventArgs Class
UploadCompletedEventArgs Members

Send Feedback