下面是我的 ICloudService 公共类 AzureCloudService : ICloudService { MobileServiceClient 客户端;
public AzureCloudService()
{
Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init();
client = new MobileServiceClient("https://xxxxxxxxxxxxxx.azurewebsites.net");
}
public ICloudTable<T> GetTable<T>() where T : TableData
{
return new AzureCloudTable<T>(client);
}
}
如果我删除 'client = new' 行,应用程序将被加载,否则它会抛出错误。
Vizualization Error
No body on method
Microsoft.WindowsAzure.MobileServices.IApplicationStorage
Microsoft.WindowsAzure.MobileServices.IPlatform::get_ApplicationStorage() (NInterpretException)