【发布时间】:2016-11-07 23:34:28
【问题描述】:
我在 Windows 应用商店中有一个 UWP 应用,我相信 Windows 应用商店会在将应用交付给用户设备之前使用 .Net Native 工具链编译应用。
我的代码从存储表中插入/更新/删除一个对象,它得到以下错误。
System.NotSupportedException: NotSupported_UnreadableStream.
For more information, visit http://go.microsoft.com/fwlink/?LinkId=623485
at System.IO.Stream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, Threading.CancellationToken cancellationToken)
at Microsoft.WindowsAzure.Storage.Core.NonCloseableStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, Threading.CancellationToken cancellationToken)
代码如下:
删除操作:
await AzureStorageTable.ExecuteAsync(TableOperation.Delete(myObject));
插入/更新操作:
await DeletesStorageTable.ExecuteAsync(TableOperation.InsertOrReplace(myObject));
感谢您提前提供帮助。
【问题讨论】:
标签: azure azure-storage azure-table-storage .net-native