NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MulticastDelegate Class

Represents a multicast delegate, which is a delegate that can have an invocation list with more than one element. All multicast delegates are derived from this class.

A delegate that inherits directly from Delegate has an invocation list (a linked list of delegates that are to be invoked when the "invoke" method is called) with one element- itself. The Delegate.Combine and Delegate.Remove methods are used to create new invocation lists.

Object
   Delegate
      MulticastDelegate

[Visual Basic]
MustInherit Public Class MulticastDelegate
   Inherits Delegate
[C#]
public abstract class MulticastDelegate : Delegate
[C++]
public __gc __abstract class MulticastDelegate : public Delegate
[JScript]
public abstract class MulticastDelegate extends Delegate

Remarks

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 a non-resumable exception is thrown, and the execution process aborts.

While a multi-cast invoke is in progress, calls to Delegate.Combine and Delegate.Remove do not affect the invocation list employed by the multi-cast that is already in progress.

Requirements

Namespace: System

Assembly: mscorlib.dll

See Also

MulticastDelegate Members | System Namespace