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

SharePointClientUploadCompletedEventArgs Constructor






The source file name to upload
The source stream to upload
The SharePoint server site URI
The destination path.
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 upload operation.
Initializes a new instance of SharePointClientUploadCompletedEventArgs with the specified parameters.
Syntax
public SharePointClientUploadCompletedEventArgs( 
   string sourceFileName,
   Stream sourceStream,
   Uri siteUri,
   string destinationPath,
   Exception error,
   bool cancelled,
   object userState
)
'Declaration
 
Public Function New( _
   ByVal sourceFileName As String, _
   ByVal sourceStream As Stream, _
   ByVal siteUri As Uri, _
   ByVal destinationPath As String, _
   ByVal error As Exception, _
   ByVal cancelled As Boolean, _
   ByVal userState As Object _
)
'Usage
 
Dim sourceFileName As String
Dim sourceStream As Stream
Dim siteUri As Uri
Dim destinationPath As String
Dim error As Exception
Dim cancelled As Boolean
Dim userState As Object
 
Dim instance As New SharePointClientUploadCompletedEventArgs(sourceFileName, sourceStream, siteUri, destinationPath, error, cancelled, userState)
public SharePointClientUploadCompletedEventArgs( 
   string sourceFileName,
   Stream sourceStream,
   Uri siteUri,
   string destinationPath,
   HResult error,
   bool cancelled,
   object userState
)
function SharePointClientUploadCompletedEventArgs( 
   sourceFileName ,
   sourceStream ,
   siteUri ,
   destinationPath ,
   error ,
   cancelled ,
   userState 
)
public:
SharePointClientUploadCompletedEventArgs( 
   String^ sourceFileName,
   Stream^ sourceStream,
   Uri^ siteUri,
   String^ destinationPath,
   Exception^ error,
   bool cancelled,
   Object^ userState
)

Parameters

sourceFileName
The source file name to upload
sourceStream
The source stream to upload
siteUri
The SharePoint server site URI
destinationPath
The destination path.
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 upload operation.
Remarks

This constructor initializes the members of this class as follows:

Member Description
SourceFileName sourceFileName
SourceStream sourceStream
SiteUri siteUri
DestinationPath destinationPath
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

SharePointClientUploadCompletedEventArgs Class
SharePointClientUploadCompletedEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

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