Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-915 Support .Net Core / DNX Core
  3. NCBC-1114

Refactor System.Timers.Timer to System.Threading.Timer

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: library
    • Labels:
    • Sprint:
      SDK4: XATTR, S.App Test, Analy, SDK6: DNS-SRVd, Wrapup

      Description

      System.Timers.Timer appears to be defunct in .Net Core, and System.Threading.Timer appears to be the preferred model. Both of these are available in .Net 4.5. For background thread operations without need for the Windows Form design surface, System.Threading.Timer seems to be the preferred method. Switching to using it shouldn't pose any issues, and will move towards .Net Core compatibility.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              btburnett3 Brant Burnett
              Reporter:
              btburnett3 Brant Burnett
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.