Diego B. FernandezDiego B. Fernandez

  1. 5,435 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      206 comments  ·  Visual Studio » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →
      Diego B. FernandezDiego B. Fernandez gave this 1 vote  · 
    • 1,630 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        54 comments  ·  Visual Studio » Languages - C#  ·  Flag idea as inappropriate…  ·  Admin →

        I’m going to mark this as completed. Even though the feature we ended up implementing didn’t do exactly as requested here.

        Instead we added exception filters to C# in the CTP of Visual Studio “14”. They provide an easy solution for this scenario, and addresses the core issue raised by many, namely what is the type of e.

        For this scenario you’d use it like this:

        try { … }
        catch(Exception e) if (e is RemoteException || e is NamingException || e is CreateException)
        {

        }

        You can find links to the CTP and more info about the upcoming C# language features at this CodePlex post:
        https://roslyn.codeplex.com/discussions/552378

        Thanks for the great ideas and discussion!

        Mads Torgersen [MSFT]
        C# Language PM

        Diego B. FernandezDiego B. Fernandez gave this 3 votes  · 
      • 1,509 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          49 comments  ·  Visual Studio » Team Foundation Server  ·  Flag idea as inappropriate…  ·  Admin →
          Diego B. FernandezDiego B. Fernandez commented  ·   ·  Delete…

          Awesome
          Hope it will fill my need for versioning + ALM

          Diego B. FernandezDiego B. Fernandez gave this 1 vote  · 

        Feedback and Knowledge Base