TFS 2012 Update 2 problem: TeamFoundationRequestContext Cancel Method not showing the message - by saeid64

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 790965 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 6/25/2013 10:45:45 PM
Access Restriction Public


We have plugin of type 'ITeamFoundationRequestFilter', we are using this type of plugin for workitem tracking to constraint user actions and showing them some error messages.
But the problem: for example in 'EnterMethod' in plugin of type 'ITeamFoundationRequestFilter' and in TFS 2012 (with out any updates) showing the user "Business error!" message on any workitem update But in TFS 2012 with update 2 some how just showing "Exception of type 'Microsoft.TeamFoundation.Framework.Server.RequestCanceledException' was thrown" message!

        public void EnterMethod(TeamFoundationRequestContext requestContext)
switch (requestContext.Method.Name)
                case "ApiWIT.updateWorkItems":
                         requestContext.Cancel("Business error!");
Sign in to post a comment.
Posted by Microsoft on 4/29/2014 at 12:30 PM
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from:
Posted by saeid64 on 7/7/2013 at 10:46 AM
Posted by Microsoft on 6/26/2013 at 10:01 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 6/25/2013 at 10:50 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(