MulticastDelegate Class
Represents a multicast delegate; that is, a delegate that can have more than one element in its invocation list.
Assembly: mscorlib (in mscorlib.dll)
The MulticastDelegate type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | MulticastDelegate(Object, String) | Initializes a new instance of the MulticastDelegate class. |
![]() | MulticastDelegate(Type, String) | Initializes a new instance of the MulticastDelegate class. |
| Name | Description | |
|---|---|---|
![]() ![]() | Clone | Creates a shallow copy of the delegate. (Inherited from Delegate.) |
![]() ![]() | CombineImpl | Combines this Delegate with the specified Delegate to form a new delegate. (Overrides Delegate.CombineImpl(Delegate).) |
![]() ![]() | DynamicInvoke | Dynamically invokes (late-bound) the method represented by the current delegate. (Inherited from Delegate.) |
![]() | DynamicInvokeImpl | Dynamically invokes (late-bound) the method represented by the current delegate. (Inherited from Delegate.) |
![]() ![]() ![]() | Equals | Determines whether this multicast delegate and the specified object are equal. (Overrides Delegate.Equals(Object).) |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) In XNA Framework, this member is overridden by Finalize(). |
![]() ![]() ![]() | GetHashCode | Returns the hash code for this instance. (Overrides Delegate.GetHashCode().) |
![]() ![]() ![]() | GetInvocationList | Returns the invocation list of this multicast delegate, in invocation order. (Overrides Delegate.GetInvocationList().) |
![]() | GetMethodImpl | Returns a static method represented by the current MulticastDelegate. (Overrides Delegate.GetMethodImpl().) |
![]() | GetObjectData | Populates a SerializationInfo object with all the data needed to serialize this instance. (Overrides Delegate.GetObjectData(SerializationInfo, StreamingContext).) |
![]() ![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | RemoveImpl | Removes an element from the invocation list of this MulticastDelegate that is equal to the specified delegate. (Overrides Delegate.RemoveImpl(Delegate).) |
![]() ![]() ![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() ![]() | Equality | Determines whether two MulticastDelegate objects are equal. |
![]() ![]() ![]() ![]() | Inequality | Determines whether two MulticastDelegate objects are not equal. |
MulticastDelegate is a special class. Compilers and other tools can derive from this class, but you cannot derive from it explicitly. The same is true of the Delegate class.
In addition to the methods that delegate types inherit from MulticastDelegate, the common language runtime provides two special methods: BeginInvoke and EndInvoke. For more information about these methods, see Calling Synchronous Methods Asynchronously.
A MulticastDelegate has a linked list of delegates, called an invocation list, consisting of one or more elements. When a multicast delegate is invoked, the delegates in the invocation list are called synchronously in the order in which they appear. If an error occurs during execution of the list then an exception is thrown.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

