MulticastDelegate.RemoveImpl(Delegate) MulticastDelegate.RemoveImpl(Delegate) MulticastDelegate.RemoveImpl(Delegate) MulticastDelegate.RemoveImpl(Delegate) Method

Definition

Removes an element from the invocation list of this MulticastDelegate that is equal to the specified delegate.

protected:
 override Delegate ^ RemoveImpl(Delegate ^ value);
protected override sealed Delegate RemoveImpl (Delegate value);
override this.RemoveImpl : Delegate -> Delegate
Protected Overrides NotOverridable Function RemoveImpl (value As Delegate) As Delegate

Parameters

value
Delegate Delegate Delegate Delegate

The delegate to search for in the invocation list.

Returns

If value is found in the invocation list for this instance, then a new Delegate without value in its invocation list; otherwise, this instance with its original invocation list.

Exceptions

Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism.

Security

ReflectionPermission
when invoked late-bound through mechanisms such as InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]). Associated enumeration: MemberAccess

Applies to