是否弃用了CloudBlockBlob上传的非异步版本

时间:2016-04-03 08:15:47

标签: c# azure azure-storage-blobs azure-sdk-.net

我可能在这里做了一些非常明显错误的事情。我在UploadFromStream()中寻找UploadFromFile()Microsoft.WindowsAzure.Storage。我只能找到UploadFromStreamAsync()UploadFromFileAsync()

来自评论:我使用的是Microsoft.WindowsAzure.Storage版本6.2.0。我正在尝试构建Windows IoT核心通用应用。很简单,我试图将图像从Raspberry Pi上传到Azure。

1 个答案:

答案 0 :(得分:2)

Our Universal library uses an async paradigm, so you'll have to use the async APIs. This is as intended -- is there a problem you have with the Async methods?

The sync methods are for .NET 4.0+ (the desktop targets).