/// <summary> /// 开始检查 /// </summary> public void BeginCheck() { if (Exclude.Count > 0) { //检查是否被排除的链接 if (Exclude.Exists(delegate(String item) { return(String.Equals(item, ConnName)); })) { return; } } ThreadPool.QueueUserWorkItem(new WaitCallback(Check)); //Check(null); }