LoggedException.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //-----------------------------------------------------------------------
  2. // <copyright file="LoggedException.cs" company="Microsoft">
  3. // Copyright (c) iano, Microsoft. All rights reserved.
  4. // </copyright>
  5. //-----------------------------------------------------------------------
  6. namespace Microsoft.Hawaii
  7. {
  8. using System.Runtime.Serialization;
  9. /// <summary>
  10. /// Used to serialize exception information.
  11. /// </summary>
  12. [DataContract]
  13. public class LoggedException
  14. {
  15. /// <summary>
  16. /// Gets or sets the name.
  17. /// </summary>
  18. [DataMember]
  19. public string Name { get; set; }
  20. /// <summary>
  21. /// Gets or sets the message.
  22. /// </summary>
  23. [DataMember]
  24. public string Message { get; set; }
  25. /// <summary>
  26. /// Gets or sets the source.
  27. /// </summary>
  28. [DataMember]
  29. public string Source { get; set; }
  30. /// <summary>
  31. /// Gets or sets the stack trace.
  32. /// </summary>
  33. [DataMember]
  34. public string StackTrace { get; set; }
  35. }
  36. }