MulticastDelegate.RemoveImpl Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
<SecuritySafeCriticalAttribute> _
Protected Overrides NotOverridable Function RemoveImpl ( _
    value As Delegate _
) As Delegate
[SecuritySafeCriticalAttribute]
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.

Exceptions

Exception Condition
MemberAccessException

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

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.