Friday, August 30, 2013

Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic)

Yeap, I think the problem got resolved when I changed the params to constructor as follows:



public MoveFile(int startHour, int startMinute, int stopHour, int stopMinute, int runInterval, string trace)
{
DoWork();
}



Thanks!!


No comments:

Post a Comment