How to catch the event which is fired when “Save Work Item” button clicked in Visual Studio 2015? RRS feed

  • Question

  • I would like to run my code(a script or C# code) to validate the changes done to a workitem before saving it.

    So, I am thinking to catch the event which will be fired when "Save Work Item" button is clicked in VS2015.

    Hence, I would like to know if it is possible to catch the event which is fired when you click "Save Work Item" button in Visual Studio 2017 (which is responsible for saving the changes to TFS) from a different(external) application/service.

    Tuesday, March 20, 2018 4:56 AM

All replies

  • Hi,

    Welcome to MSDN forum.

    This forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. You need to ask the question in Stackoverflow with TFS tag. Thank you for understanding.

    Best regards,


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, March 21, 2018 6:57 AM