标签:strong on new as .net res 方法 ca net
调用:
RunAsyncMethod(new AsyncBeginInvoke(BusinessHandler.Handle), new AsyncCallback(BusinessHandler.Callback), data);
定义:
public delegate void AsyncBeginInvoke(dynamic data);
public delegate void AsyncEndInvoke(dynamic result);
public void RunAsyncMethod(dynamic method, dynamic callback, dynamic data)
{
IAsyncResult binvoke = method.BeginInvoke(data, callback, null);
method.EndInvoke(binvoke);
}
标签:strong on new as .net res 方法 ca net
原文地址:http://www.cnblogs.com/demonhu/p/4044888.html