PageRenderTime 47ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 0ms

/Blocks/DisconnectedAgent/Src/CancelDispatchException.cs

#
C# | 46 lines | 12 code | 4 blank | 30 comment | 0 complexity | 3c62319df4a1f83fcb52fe27e0dff3c5 MD5 | raw file
  1. // Microsoft patterns & practices
  2. // Mobile Client Software Factory - July 2006
  3. //===============================================================================
  4. // Copyright Microsoft Corporation. All rights reserved.
  5. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
  6. // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
  7. // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  8. // FITNESS FOR A PARTICULAR PURPOSE.
  9. //===============================================================================
  10. // The example companies, organizations, products, domain names,
  11. // e-mail addresses, logos, people, places, and events depicted
  12. // herein are fictitious. No association with any real company,
  13. // organization, product, domain name, email address, logo, person,
  14. // places, or events is intended or should be inferred.
  15. //===============================================================================
  16. using System;
  17. using System.Collections.Generic;
  18. using System.Text;
  19. namespace Microsoft.Practices.Mobile.DisconnectedAgent
  20. {
  21. /// <summary>
  22. /// Exception thrown to cancel dispatching
  23. /// </summary>
  24. public class CancelDispatchException : Exception
  25. {
  26. /// <summary>
  27. /// Creates a new instance of the CancelDispatchException
  28. /// </summary>
  29. public CancelDispatchException() { }
  30. /// <summary>
  31. /// Creates a new instance of the CancelDispatchException
  32. /// </summary>
  33. /// <param name="message">The error message</param>
  34. public CancelDispatchException(string message) : base(message) { }
  35. /// <summary>
  36. /// Creates a new instance of the CancelDispatchException
  37. /// </summary>
  38. /// <param name="message">The error message</param>
  39. /// <param name="inner">The inner exception</param>
  40. public CancelDispatchException(string message, Exception inner) : base(message, inner) { }
  41. }
  42. }