Example #1
0
 public void InitToErrorConnect(MSGError.ErrorTypeEnum errType, int errCode, string errMsg)
 {
     Cleanup();
     Error              = new MSGError();
     EventType          = MSGEventType.ErrorConnect;
     Error.ErrorType    = errType;
     Error.ErrorCode    = errCode;
     Error.ErrorMessage = errMsg;
 }
Example #2
0
 public void EnqueueErrorConnectEvent(MSGError.ErrorTypeEnum errType, int errCode, string errMsg)
 {
     EnqueueEvent(
         (e) => e.InitToErrorConnect(errType, errCode, errMsg)
         );
 }