G Guest Dec 19, 2004 #2 SW Prathap said: how to capture return value of MulticastDelegate. Click to expand... delegate int Handler(); //... public event Handler Callback; //... foreach (Handler h in Callback.GetInvocationList()) { int result = h(); //... }
SW Prathap said: how to capture return value of MulticastDelegate. Click to expand... delegate int Handler(); //... public event Handler Callback; //... foreach (Handler h in Callback.GetInvocationList()) { int result = h(); //... }
G Guest Dec 19, 2004 #3 i tried what you said, but i am getting the return value of the last call only. ( i am binding the delegate with three methods , i want the return value of all the three)
i tried what you said, but i am getting the return value of the last call only. ( i am binding the delegate with three methods , i want the return value of all the three)