private void processImages() { AzureWrapper imageazure; try { imageazure = new AzureWrapper(AzureStorage.VIDEO_CONTAINER_NAME); } catch (Exception ex) { throw ex; } while (true) { try { CloudQueueMessage message = imageazure.Queue.GetMessage(); string id = message.AsString; IListBlobItem blobitem = imageazure.BlobContainer.ListBlobs().Where(b => b.Uri.ToString().Contains(id)).First(); CloudBlob blob = imageazure.BlobContainer.GetBlobReference(blobitem.Uri.ToString()); byte[] package = blob.DownloadByteArray(); Compression<ImageFrameSerialized> comp = new Compression<ImageFrameSerialized>(); ImageFrameSerialized frame = comp.GZipUncompress(package); } catch (Exception ex) { string message = ex.Message; } } }