delegate type 委派类型 ; 代表类型 ; 委派型别
This constructs a new instance of the delegate type using the constructor MyDelegate (object, IntPtr).
通过使用MyDelegate (object, IntPtr)构造器,就构建了一个委托类型的新实例。
The ExecuteFromPool method accepts a delegate and arguments in addition to the desired type.
ExecuteFromPool方法除了接受所需类型以外,还接受委托和参数。
There also the compiler ensures that the return value of EndInvoke is the same as the return value of the delegate type (this type is an int in our example).
编译器同时也会确保EndInvoke返回值类型和委托返回类型一致(在我们的例子中,这个类型是int)。
应用推荐