我正在尝试使用队列,但是出现了以下异常:
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.
我也查看了这个问题,但是没有找到我的答案:Exception of type 'Microsoft.WindowsAzure.StorageClient.StorageClientException' was thrown 以下是代码:
storageAccount = CloudStorageAccount.Parse(
CloudConfigurationManager.GetSetting("StorageConnectionString"));
queueClient = storageAccount.CreateCloudQueueClient();
rawMessageQueue = queueClient.GetQueueReference("rawMessageQueue");
private CloudQueue rawMessageQueue;
var QueueExists = rawMessageQueue.Exists();