/// <summary> /// Logout of the service /// </summary> public async Task LogoutAsync() { var client = AzureCloudDataProvider.GetClient(); try { WriteDebugClientUser("LogoutAsync", client); await client.LogoutAsync(); } catch (InvalidOperationException exception) { throw new CloudAuthenticationException("Logout Failed", exception); } }
/// <summary> /// Returns a reference to a mobile service table /// </summary> /// <typeparam name="T"></typeparam> /// <returns></returns> public IMobileServiceTable <T> GetTable <T>() { var client = AzureCloudDataProvider.GetClient(); return(client.GetTable <T>()); }