MulticastDelegate Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a multicast delegate; that is, a delegate that can have more than one element in its invocation list.

System..::..Object
  System..::..Delegate
    System..::..MulticastDelegate

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

[SerializableAttribute]
public abstract class MulticastDelegate : Delegate

The MulticastDelegate type exposes the following members.

  NameDescription
Protected methodMulticastDelegateInitializes a new instance of the MulticastDelegate class.
Top

  NameDescription
Public propertyMethodGets the method represented by the delegate. (Inherited from Delegate.)
Public propertyTargetGets the class instance on which the current delegate invokes the instance method. (Inherited from Delegate.)
Top

  NameDescription
Public methodEqualsDetermines whether the specified object and the current delegate are of the same type and share the same targets, methods, and invocation list. (Inherited from Delegate.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public operatorStatic memberEqualityDetermines whether two MulticastDelegate objects are equal.
Public operatorStatic memberInequalityDetermines whether two MulticastDelegate objects are not equal.
Top

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.

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: