在MobileServiceClient中找不到LogoutAsync()方法

时间:2017-01-03 20:14:34

标签: azure xamarin

在Microsoft.WindowsAzure.MobileServices命名空间中,类MobileServiceClient应该具有根据here的LogoutAsync方法。但它没有这样的方法。

1 个答案:

答案 0 :(得分:0)

你是对的。命名空间中不再存在LogoutAsync()。这很可能是由于这个包已被弃用,如announcement中所述。最后,我不会依赖于正在更新的文档。相反,您应该考虑使用Azure App Service。

也就是说,Microsoft.WindowsAzure.MobileServices命名空间中logging a user out存在一种方法。尽管如此,它只是将CurrentUser设置为null