MulticastDelegate return value

  • Thread starter Thread starter Guest
  • Start date Start date
SW Prathap said:
how to capture return value of MulticastDelegate.

delegate int Handler();
//...
public event Handler Callback;
//...
foreach (Handler h in Callback.GetInvocationList())
{
int result = h();
//...
}
 
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)
 
Back
Top