protected virtual void SetServerError(ServiceResult error) { lock (m_lock) { ServerError = error; } }