public long MailBoxProccessingStarts(int mailbox_id, int thread_id) { if (IsInitialized && _mgr.EnableActivityLog) { return(_mgr.RegisterMailBoxProccessing(mailbox_id, thread_id, _currentAggregatorId)); } return(-1); }
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"); } }