Microsoft.HockeyApp.HockeyClientExtensionsWP81.LogoutFromFeedbackAsync C# (CSharp) Méthode

LogoutFromFeedbackAsync() public static méthode

Call in your app if user logs out. Deletes all persistently stored data like FeedbackThreadToken, and cached Message. .
public static LogoutFromFeedbackAsync ( this @this ) : System.Threading.Tasks.Task
@this this
Résultat System.Threading.Tasks.Task
        public static async Task LogoutFromFeedbackAsync(this IHockeyClient @this)
        {
            var settingValues = ApplicationData.Current.LocalSettings.Values;
            settingValues.RemoveValue(ConstantsUniversal.FeedbackThreadKey);
            await FeedbackManager.Current.ClearMessageCacheAsync();
        }