public void DeregisterDevice(string token) { using (var pushClient = new PushServiceClient()) { pushClient.DeregisterDevice( CoreContext.TenantManager.GetCurrentTenant().TenantId, SecurityContext.CurrentAccount.ID.ToString(), token); } }