创建云blob客户端

时间:2013-04-30 02:44:22

标签: azure windows-phone-8 azure-storage

这是我的代码:

string storageAccount = "MYACCOUNT";  
string storageKey = "MYKEY";  
string blobServiceUri = "http://MYACCOUNG.blob.core.windows.net";  

CloudBlobClient blobClient;

public Page2() 
{ 
    InitializeComponent(); 
    var credentials = new StorageCredentialsAccountAndKey(storageAccount, storageKey);
    blobClient = new CloudBlobClient(blobServiceUri, credentials); 
}

我在尝试创建CloudBlobClient时遇到错误

  

未知模块中出现“System.IO.FileNotFoundException”类型的异常。   但未在用户代码中处理

如何解决此问题?

0 个答案:

没有答案