use*_*522 5 c# azure azure-storage
我正在尝试使用队列,这是我得到的异常:
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.
Run Code Online (Sandbox Code Playgroud)
我也检查了此问题,但找不到答案: 引发了“ Microsoft.WindowsAzure.StorageClient.StorageClientException”类型的异常
这是代码:
storageAccount = CloudStorageAccount.Parse(
CloudConfigurationManager.GetSetting("StorageConnectionString"));
queueClient = storageAccount.CreateCloudQueueClient();
rawMessageQueue = queueClient.GetQueueReference("rawMessageQueue");
private CloudQueue rawMessageQueue;
var QueueExists = rawMessageQueue.Exists();
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4693 次 |
| 最近记录: |