I like to know if it is possible, and if so how, to automatically request a code review while code is being checked into TFS.
So, for instance, I would like to have the request code review gui inside the pending changes gui, so that I can enter the name of the reviewer. When the code gets checked in, I would like Visual Studio to automatically request the code review for that check in. Is this possible?
I see a lot of questions (and answers) about how to require a code review before checking in, but I like to be able to check the code in and have it reviewed afterwards.
No, it's not the general workflow. You have already checked in, so what is the meaning of code review? That does't make sense.
Generally we need to create Code Review
as much as possible to ensure that there are no obvious and potential problems before you check in your code. Because it may impact your build/release if you checked in the wrong code. You can use Visual Studio to ask someone else from your team to review it. Your request will show up in his team explorer, in the my work
page.
Please see Get your code reviewed with Visual Studio for details.
Back to your question itself: It's not possible as no changes anymore, they have checked in and you can only compare the changesets to get the differences...