What is a Multicast Delegate?

Author Topic: What is a Multicast Delegate?  (Read 5417 times)

Offline beingchinmayTopic starter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Thank You 1
  • Posts: 73
  • Karma: 0
  • Gender: Male
  • I am Chinmay
    • Modular Kitchen Designer
What is a Multicast Delegate?
« on: 11-29-2016, 03:37:47 »
•   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.


Offline Lishmalinyjames

  • Trade Count: (0)
  • Hero Member
  • *****
  • Thank You 3
  • Posts: 797
  • Karma: 0
    • Oneplus Service Center in Chennai
Re: What is a Multicast Delegate?
« Reply #1 on: 07-07-2021, 11:10:59 »
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.


 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1667 Views
Last post 12-13-2016, 23:23:35
by saravjeet
1 Replies
4719 Views
Last post 07-07-2021, 11:07:02
by Lishmalinyjames