Код: Выделить всё
>Unhandled exception. System.ArgumentOutOfRangeException: Count must be positive and count must refer to a location within the string/array/collection. (Parameter 'count')
at System.Array.IndexOf[T](T[] array, T value, Int32 startIndex, Int32 count)
at System.Collections.Generic.Queue`1.Contains(T item)
at KkmFactory.Logers.CommandLogsDequeue()
at KkmFactory.Logers.AddError(String Command, String TextError, String TextCommand, String NetLogs)
at KkmFactory.UnitManager.ManagerCommand(Object Params)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.TimerQueueTimer.CallCallback(Boolean isThreadPool)
at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
at System.Threading.TimerQueue.FireNextTimers()