コード例 #1
0
        public long MailBoxProccessingStarts(int mailbox_id, int thread_id)
        {
            if (IsInitialized && _mgr.EnableActivityLog)
            {
                return(_mgr.RegisterMailBoxProccessing(mailbox_id, thread_id, _currentAggregatorId));
            }

            return(-1);
        }
コード例 #2
0
 public long MailBoxProccessingStarts(int mailbox_id, int thread_id)
 {
     if (IsInitialized)
     {
         return(_mgr.RegisterMailBoxProccessing(mailbox_id, thread_id, _currentAggregatorId));
     }
     else
     {
         throw new Exception("Call Start() method before logging anything");
     }
 }