What is a Multicast Delegate?

Started by beingchinmay, 11-29-2016, 03:37:47

Previous topic - Next topic

beingchinmayTopic starter

•   Delegate wraps a method. Calling delegate results in calling the method It is possible to wrap more than one method in a delegate. This is known as a multicast delegate.

•   If you make a call to a multicast delegate it will call all the functions it wraps in the order specified. Please note that functions in this case should not return any values.


Lishmalinyjames

A Multicast Delegate is a delegate that holds the references of more than one function. When we invoke the multicast delegate, then all the functions which are referenced by the delegate are going to be invoked. If you want to call multiple methods using a delegate then all the method signature should be the same.