Export (0) Print
Expand All

MulticastDelegate.RemoveImpl Method

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

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

protected override sealed Delegate RemoveImpl(
	Delegate value
)

Parameters

value
Type: System.Delegate

The delegate to search for in the invocation list.

Return Value

Type: System.Delegate
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.

ExceptionCondition
MemberAccessException

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Show:
© 2015 Microsoft