Example #1
0
 public System.IAsyncResult BeginFileUpload(SLWCFChunking.ServiceReference1.FileData fileData, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = fileData;
     System.IAsyncResult _result = base.BeginInvoke("FileUpload", _args, callback, asyncState);
     return(_result);
 }
Example #2
0
 public void FileUploadAsync(SLWCFChunking.ServiceReference1.FileData fileData, object userState)
 {
     if ((this.onBeginFileUploadDelegate == null))
     {
         this.onBeginFileUploadDelegate = new BeginOperationDelegate(this.OnBeginFileUpload);
     }
     if ((this.onEndFileUploadDelegate == null))
     {
         this.onEndFileUploadDelegate = new EndOperationDelegate(this.OnEndFileUpload);
     }
     if ((this.onFileUploadCompletedDelegate == null))
     {
         this.onFileUploadCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnFileUploadCompleted);
     }
     base.InvokeAsync(this.onBeginFileUploadDelegate, new object[] {
         fileData
     }, this.onEndFileUploadDelegate, this.onFileUploadCompletedDelegate, userState);
 }
Example #3
0
 private System.IAsyncResult OnBeginFileUpload(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     SLWCFChunking.ServiceReference1.FileData fileData = ((SLWCFChunking.ServiceReference1.FileData)(inValues[0]));
     return(((SLWCFChunking.ServiceReference1.IService1)(this)).BeginFileUpload(fileData, callback, asyncState));
 }
Example #4
0
 public void FileUploadAsync(SLWCFChunking.ServiceReference1.FileData fileData)
 {
     this.FileUploadAsync(fileData, null);
 }
Example #5
0
 System.IAsyncResult SLWCFChunking.ServiceReference1.IService1.BeginFileUpload(SLWCFChunking.ServiceReference1.FileData fileData, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginFileUpload(fileData, callback, asyncState));
 }