Remove serialization constructors in exceptions

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Critical - P2
    • 4.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change
    • Dotnet Drivers
    • Needed
    • Hide

      Removed legacy serialization constructors, the functionality is unlikely to used and removed from .net class libraries in net8.0

      Show
      Removed legacy serialization constructors, the functionality is unlikely to used and removed from .net class libraries in net8.0
    • None
    • None
    • None
    • None
    • None
    • None

      We have removed Serializable attribute from all of Driver's exceptions, but left serialization constructors that are not in use anymore. Need to find and remove all constructors like the following:

      public MongoClientException(SerializationInfo info, StreamingContext context)

            Assignee:
            Oleksandr Poliakov
            Reporter:
            Oleksandr Poliakov
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: