00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 using System;
00013
00014 namespace Mcs.Epm.MicrosoftProject.mpFx.Client.Shared
00015 {
00016
00017
00018
00019 public class OnStatusChangedArgs:EventArgs
00020 {
00021 #region Public Properties
00022
00023 public string Message { get; private set; }
00024 public bool IsFatalError { get; private set; }
00025 public Exception Exception { get; private set; }
00026
00027 #endregion
00028
00029 #region Constructors
00030
00031 public OnStatusChangedArgs(string message)
00032 {
00033 Message = message;
00034 }
00035
00036 public OnStatusChangedArgs(string message, bool isFatalError)
00037 {
00038 Message = message;
00039 IsFatalError = isFatalError;
00040 }
00041
00042 public OnStatusChangedArgs(string message, bool isFatalError, Exception exception)
00043 {
00044 Message = message;
00045 IsFatalError = isFatalError;
00046 Exception = exception;
00047 }
00048
00049 #endregion
00050 }
00051 }