Partager via


MulticastDelegate Class

Represents a multicast delegate, which is a delegate that can contain multiple elements in its invocation list.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

[SerializableAttribute]
public abstract class MulticastDelegate : Delegate

Remarks

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 for the Delegate class.

Most programming languages implement a delegate keyword, and compilers for those languages are able to derive from the Delegate and MulticastDelegate classes. You should therefore use the delegate keyword provided by the language in each such case.

A MulticastDelegate object has a linked list of delegates, called an invocation list, that consists 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 in the list. If an error occurs during execution of the invocation list, an exception is thrown.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

MulticastDelegate Members
System Namespace