threading.Timer的作用 官方给的定义是: """Call a function after a specified number of seconds: t = Timer(30.0, f, args=None, kwargs=None) t.start() t.cancel() # stop the timer's action if it's still waiting """ 意思是: 在一个特定的秒数之后调用一个函数,使用方
public class TimerHelper { System.Threading.Timer timer; public TaskSendMMS tasksendmms { get; set; } public void Start() { timer = , ); tasksendmms.timer = timer; } } public class TaskSendMMS { public Guid MMSId { get; set; } public Guid PhonePackag