I have created constructor method with object parameter. But still the same issue
namespace MoveFile
{
public partial class MoveFile
{
public MoveFile(object args)
{
DoWork();
}
public void DoWork()
{
EventLog.CreateEventSource("InfiniteTS", "Thread Working");
}
}
}
No comments:
Post a Comment