PageRenderTime 41ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/Blocks/DisconnectedAgent/Src/DispatchResult.cs

#
C# | 44 lines | 24 code | 5 blank | 15 comment | 0 complexity | adde9d5739bab809e407a220f2e21379 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. public class DispatchResult
  22. {
  23. private DispatchResultStatus dispatchResultStatus;
  24. private Exception exception;
  25. public DispatchResult(DispatchResultStatus dispatchResultStatus, Exception exception)
  26. {
  27. this.dispatchResultStatus = dispatchResultStatus;
  28. this.exception = exception;
  29. }
  30. public DispatchResultStatus DispatchResultStatus
  31. {
  32. get { return dispatchResultStatus; }
  33. }
  34. public Exception Exception
  35. {
  36. get { return exception; }
  37. }
  38. }
  39. }