public System.Threading.Tasks.Task <Client.ServiceReference1.uploadFileResponse> uploadFileAsync(string description, string fileName, System.IO.Stream dataStream) { Client.ServiceReference1.StreamMessage inValue = new Client.ServiceReference1.StreamMessage(); inValue.description = description; inValue.fileName = fileName; inValue.dataStream = dataStream; return(((Client.ServiceReference1.IService1)(this)).uploadFileAsync(inValue)); }
public void uploadFile(string description, string fileName, System.IO.Stream dataStream) { Client.ServiceReference1.StreamMessage inValue = new Client.ServiceReference1.StreamMessage(); inValue.description = description; inValue.fileName = fileName; inValue.dataStream = dataStream; Client.ServiceReference1.uploadFileResponse retVal = ((Client.ServiceReference1.IService1)(this)).uploadFile(inValue); }
public string downloadFile(string name, out string fileName, out System.IO.Stream dataStream) { Client.ServiceReference1.RequestMessage inValue = new Client.ServiceReference1.RequestMessage(); inValue.name = name; Client.ServiceReference1.StreamMessage retVal = ((Client.ServiceReference1.IService1)(this)).downloadFile(inValue); fileName = retVal.fileName; dataStream = retVal.dataStream; return(retVal.description); }
System.Threading.Tasks.Task <Client.ServiceReference1.uploadFileResponse> Client.ServiceReference1.IService1.uploadFileAsync(Client.ServiceReference1.StreamMessage request) { return(base.Channel.uploadFileAsync(request)); }
Client.ServiceReference1.uploadFileResponse Client.ServiceReference1.IService1.uploadFile(Client.ServiceReference1.StreamMessage request) { return(base.Channel.uploadFile(request)); }