Windows Phone 8.1 UNHANDLED_EXCEPTION

Windows Phone 8.1 UNHANDLED_EXCEPTION

 List<Person> friends = new List<Person>();
            StorageCredentials credential = new StorageCredentials(x, x);
            // Retrieve storage account from connection string.
            CloudStorageAccount storageAccount = new CloudStorageAccount(credential, true);
            // Create the blob client.
            CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
            // Retrieve reference to a previously created container.
            CloudBlobContainer container = blobClient.GetContainerReference("cryptochat");

在 "CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();" 处创建 blob 客户端时,应用程序中断并在此处输入:

 #if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
            UnhandledException += (sender, e) =>
            {
                if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();
            };
#endif

例外情况是:{"The argument 'ParallelOperationThreadCount' is larger than maximum of '64'\r\nParameter name: ParallelOperationThreadCount"} 此代码在 visual studio 2013 中工作,然后我重新安装了 windows 10 并安装了 2015 现在它不起作用。此代码适用于模拟器,但不适用于设备。

似乎有 bug,请尝试更新您的 azure SDK