MulticastDelegate.RemoveImpl Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Removes an element from the invocation list of this MulticastDelegate that is equal to the specified delegate.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Protected Overrides NotOverridable Function RemoveImpl ( _ value As Delegate _ ) As Delegate
Parameters
- value
- Type: System.Delegate
The delegate to search for in the invocation list.
Return Value
Type: System.DelegateIf 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.
| Exception | Condition |
|---|---|
| MemberAccessException | Cannot create an instance of an abstract class, or this member was invoked with a late-binding mechanism. |
Show: