Επεξεργασία

Κοινή χρήση μέσω


EventDescriptor.IsMulticast Property

Definition

When overridden in a derived class, gets a value indicating whether the event delegate is a multicast delegate.

public:
 abstract property bool IsMulticast { bool get(); };
public abstract bool IsMulticast { get; }
member this.IsMulticast : bool
Public MustOverride ReadOnly Property IsMulticast As Boolean

Property Value

true if the event delegate is multicast; otherwise, false.

Remarks

Typically, this property is implemented through reflection.

A multicast delegate differs from a regular delegate in that it can contain references to more than just one method. Methods in a multicast delegate are executed synchronously when the delegate is invoked, in the order in which they appear. If one of the called methods raises an exception, then the delegate ceases and the exception is propagated to the delegate caller.

Applies to

See also