Hi.

I am using .NET 2.0 C#

I have a delegate:

Code:
public delegate void DoHandleUIStatus(string theMessageToDisplay, bool clearUpAfter);
and have a method which is called upon whenever we wish to do a procedure from a another thread or whatever:

Code:
        public void DoUpdateUIAppStatus(string theMessageToDisplay, bool clearUpAfter)
        {
            if (this.lblStatus.InvokeRequired)
            {
                DoHandleUpdateCurrentStatus updateLabel = new DoHandleUpdateCurrentStatus(DoUpdateUIAppStatus);
                this.Invoke(updateLabel, new object[] { theMessageToDisplay, clearUpAfter});
            }
            else
            {
                this.lblStatus.Text = theMessageToDisplay;
                this.tmrClearUIStatusText.Enabled = clearUpAfter;
            }
        }
I am getting this compiler error but no idea what it means/how to make it work:


No overload for 'DoUpdateUIAppStatus' matches delegate...

any ideas?