Coding & Programming > ASP Forum

What is a Multicast Delegate?

(1/1)

beingchinmay:
•   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.

Navigation

[0] Message Index

Go to full version