Uploader for Silverlight
BeginUpload Method (UploadManagerPost)






Settings used to upload the part.
Package of file parts to be uploaded.
Headers that will be sent within the upload.
Parameter that will be sent to the server together with the part.
Begins the upload of a set of parts.
Syntax
'Declaration
 
Public Function BeginUpload( _
   ByVal settings As UploadManagerSettings, _
   ByVal package As UploadFilePartPackage, _
   ByVal headers As System.Collections.Generic.Dictionary(Of HttpRequestHeader,String), _
   ByVal parameters As System.Collections.Generic.Dictionary(Of String,String) _
) As System.Boolean
'Usage
 
Dim instance As UploadManagerPost
Dim settings As UploadManagerSettings
Dim package As UploadFilePartPackage
Dim headers As System.Collections.Generic.Dictionary(Of HttpRequestHeader,String)
Dim parameters As System.Collections.Generic.Dictionary(Of String,String)
Dim value As System.Boolean
 
value = instance.BeginUpload(settings, package, headers, parameters)
public System.bool BeginUpload( 
   UploadManagerSettings settings,
   UploadFilePartPackage package,
   System.Collections.Generic.Dictionary<HttpRequestHeader,string> headers,
   System.Collections.Generic.Dictionary<string,string> parameters
)
public function BeginUpload( 
    settings: UploadManagerSettings;
    package: UploadFilePartPackage;
    headers: System.Collections.Generic.Dictionary;
    parameters: System.Collections.Generic.Dictionary
): System.Boolean; 
public function BeginUpload( 
   settings : UploadManagerSettings,
   package : UploadFilePartPackage,
   headers : System.Collections.Generic.Dictionary,
   parameters : System.Collections.Generic.Dictionary
) : System.boolean;
public: System.bool BeginUpload( 
   UploadManagerSettings* settings,
   UploadFilePartPackage* package,
   System.Collections.Generic.Dictionary<HttpRequestHeader,string*>* headers,
   System.Collections.Generic.Dictionary<string*,string*>* parameters
) 
public:
System.bool BeginUpload( 
   UploadManagerSettings^ settings,
   UploadFilePartPackage^ package,
   System.Collections.Generic.Dictionary<HttpRequestHeader,String^>^ headers,
   System.Collections.Generic.Dictionary<String^,String^>^ parameters
) 

Parameters

settings
Settings used to upload the part.
package
Package of file parts to be uploaded.
headers
Headers that will be sent within the upload.
parameters
Parameter that will be sent to the server together with the part.

Return Value

Returns True if the upload has been started correctly.
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

UploadManagerPost Class
UploadManagerPost Members

Send Feedback