LEADTOOLS SharePoint Client (Leadtools.SharePoint.Client assembly)
LEAD Technologies, Inc

SharePointClientDownloadCompletedEventArgs Constructor






The source URI to download.
The destination file name to download to.
The destination stream information.
Any error that occurred during the asynchronous operation.
A value that indicates whether the asynchronous operation was canceled.
The optional user-supplied state object that is used to identify the task that raised the download operation.
Initializes a new instance of SharePointClientDownloadCompletedEventArgs with the specified parameters.
Syntax
public SharePointClientDownloadCompletedEventArgs( 
   Uri sourceUri,
   string destinationFileName,
   SharePointClientDownloadData destinationData,
   Exception error,
   bool cancelled,
   object userState
)
'Declaration
 
Public Function New( _
   ByVal sourceUri As Uri, _
   ByVal destinationFileName As String, _
   ByVal destinationData As SharePointClientDownloadData, _
   ByVal error As Exception, _
   ByVal cancelled As Boolean, _
   ByVal userState As Object _
)
'Usage
 
Dim sourceUri As Uri
Dim destinationFileName As String
Dim destinationData As SharePointClientDownloadData
Dim error As Exception
Dim cancelled As Boolean
Dim userState As Object
 
Dim instance As New SharePointClientDownloadCompletedEventArgs(sourceUri, destinationFileName, destinationData, error, cancelled, userState)
public SharePointClientDownloadCompletedEventArgs( 
   Uri sourceUri,
   string destinationFileName,
   SharePointClientDownloadData destinationData,
   HResult error,
   bool cancelled,
   object userState
)
function SharePointClientDownloadCompletedEventArgs( 
   sourceUri ,
   destinationFileName ,
   destinationData ,
   error ,
   cancelled ,
   userState 
)
public:
SharePointClientDownloadCompletedEventArgs( 
   Uri^ sourceUri,
   String^ destinationFileName,
   SharePointClientDownloadData^ destinationData,
   Exception^ error,
   bool cancelled,
   Object^ userState
)

Parameters

sourceUri
The source URI to download.
destinationFileName
The destination file name to download to.
destinationData
The destination stream information.
error
Any error that occurred during the asynchronous operation.
cancelled
A value that indicates whether the asynchronous operation was canceled.
userState
The optional user-supplied state object that is used to identify the task that raised the download operation.
Remarks

This constructor initializes the members of this class as follows:

Member Description
SourceUri sourceUri
DestinationFileName destinationFileName
DestinationData destinationData
System.ComponentModel.AsyncCompletedEventArgs.Error error
System.ComponentModel.AsyncCompletedEventArgs.Cancelled cancelled
System.ComponentModel.AsyncCompletedEventArgs.UserState userState
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

SharePointClientDownloadCompletedEventArgs Class
SharePointClientDownloadCompletedEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.