I'm trying to programmatically intercept and cancel a user's attempt to check out a file in TFS.
Am I correct in thinking that the proper way to go about this would be to handle the NewPendingChange in a Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer ?
What is the proper way for canceling the event from its event handler?