InvalidDataContractException.cs 841 B

12345678910111213141516171819202122232425262728293031323334
  1. //------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //------------------------------------------------------------
  4. namespace System.Runtime.Serialization
  5. {
  6. using System;
  7. [Serializable]
  8. public class InvalidDataContractException : Exception
  9. {
  10. public InvalidDataContractException()
  11. : base()
  12. {
  13. }
  14. public InvalidDataContractException(String message)
  15. : base(message)
  16. {
  17. }
  18. public InvalidDataContractException(String message, Exception innerException)
  19. : base(message, innerException)
  20. {
  21. }
  22. protected InvalidDataContractException(SerializationInfo info, StreamingContext context)
  23. : base(info, context)
  24. {
  25. }
  26. }
  27. }