public void UnsubscribeToUpdates(long accountId) { try { this.lastSubscribedAccountId = null; ApiAccessor.UnsubscribeToUpdates(new AccountMessageData(accountId), this.OnMessageDataUpdated); } catch (Exception e) { Logger.DisplayError("Account " + accountId + " failed to unsubscribe from updates", e); } }