Delegate.CombineImpl Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Concatenates the invocation lists of the specified delegate and the current delegate.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- d
- Type: System.Delegate
The delegate whose invocation list is to be combined with the invocation list of the current delegate.
Return Value
Type: System.DelegateA new delegate with an invocation list that concatenates the invocation list of the current delegate and the invocation list of d, or the current delegate if d is Nothing.
| Exception | Condition |
|---|---|
| MulticastNotSupportedException | In all cases. |
| MethodAccessException | Application code attempts to access this member late-bound, for example, by using the Type.InvokeMember method. |
The current implementation throws a MulticastNotSupportedException in all cases. This does not matter because all delegate types in the common language runtime (CLR) are derived from MulticastDelegate, and therefore they are combined by using the MulticastDelegate.CombineImpl method, which overrides this protected base class method. You cannot derive a delegate type directly from Delegate, so this protected method is never called.