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); }
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); }
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)); }
public void FileUploadAsync(SLWCFChunking.ServiceReference1.FileData fileData) { this.FileUploadAsync(fileData, null); }
System.IAsyncResult SLWCFChunking.ServiceReference1.IService1.BeginFileUpload(SLWCFChunking.ServiceReference1.FileData fileData, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginFileUpload(fileData, callback, asyncState)); }