c# – Microsoft.WindowsAzure.Storage.dll中出现’Microsoft.Wi
发布时间:2020-12-15 22:06:31 所属栏目:百科 来源:网络整理
导读:我正在尝试使用队列,这是我得到的例外: A first chance exception of type 'Microsoft.WindowsAzure.Storage.StorageException' occurred in Microsoft.WindowsAzure.Storage.dllAdditional information: The remote server returned an error: (400) Bad R
我正在尝试使用队列,这是我得到的例外:
A first chance exception of type 'Microsoft.WindowsAzure.Storage.StorageException' occurred in Microsoft.WindowsAzure.Storage.dll Additional information: The remote server returned an error: (400) Bad Request. 我也检查了这个问题,但无法找到我的答案: 这是代码: storageAccount = CloudStorageAccount.Parse( CloudConfigurationManager.GetSetting("StorageConnectionString")); queueClient = storageAccount.CreateCloudQueueClient(); rawMessageQueue = queueClient.GetQueueReference("rawMessageQueue"); private CloudQueue rawMessageQueue; var QueueExists = rawMessageQueue.Exists(); 解决方法
只需更新以下dll:
> Microsoft.WindowsAzure.Storage.dll 然后重建. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |