File.ListItemAllFields property gets a value that specifies the list item field values for the list item corresponding to the file.
Example:
context.Load(uploadFile,f => f.ListItemAllFields) ;
context.ExecuteQuery();
//Print List Item Id
Console.WriteLine("List Item Id: {0}", uploadFile.ListItemAllFields.Id);