public System.Threading.Tasks.Task <WindowsFormsApplication3.ServiceReference1.UploadResponse> UploadAsync(byte[] contents, string filenamesave)
 {
     WindowsFormsApplication3.ServiceReference1.UploadRequest inValue = new WindowsFormsApplication3.ServiceReference1.UploadRequest();
     inValue.contents     = contents;
     inValue.filenamesave = filenamesave;
     return(((WindowsFormsApplication3.ServiceReference1.WebService2Soap)(this)).UploadAsync(inValue));
 }
 public void Upload(byte[] contents, string filenamesave)
 {
     WindowsFormsApplication3.ServiceReference1.UploadRequest inValue = new WindowsFormsApplication3.ServiceReference1.UploadRequest();
     inValue.contents     = contents;
     inValue.filenamesave = filenamesave;
     WindowsFormsApplication3.ServiceReference1.UploadResponse retVal = ((WindowsFormsApplication3.ServiceReference1.WebService2Soap)(this)).Upload(inValue);
 }
 System.Threading.Tasks.Task <WindowsFormsApplication3.ServiceReference1.UploadResponse> WindowsFormsApplication3.ServiceReference1.WebService2Soap.UploadAsync(WindowsFormsApplication3.ServiceReference1.UploadRequest request)
 {
     return(base.Channel.UploadAsync(request));
 }
 WindowsFormsApplication3.ServiceReference1.UploadResponse WindowsFormsApplication3.ServiceReference1.WebService2Soap.Upload(WindowsFormsApplication3.ServiceReference1.UploadRequest request)
 {
     return(base.Channel.Upload(request));
 }