Export (0) Print
Expand All

Delegate.CombineImpl Method

Concatenates the invocation lists of the specified multicast (combinable) delegate and the current multicast (combinable) delegate.

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

protected virtual Delegate CombineImpl(
	Delegate d
)

Parameters

d
Type: System.Delegate

The multicast (combinable) delegate whose invocation list to append to the end of the invocation list of the current multicast (combinable) delegate.

Return Value

Type: System.Delegate
A new multicast (combinable) delegate with an invocation list that concatenates the invocation list of the current multicast (combinable) delegate and the invocation list of d, or the current multicast (combinable) delegate if d is null.

ExceptionCondition
MulticastNotSupportedException

Always thrown.

This method applies only if the current delegate is multicast (combinable).

The current implementation simply throws a MulticastNotSupportedException.

The invocation list can contain duplicate entries; that is, entries that refer to the same method on the same object.

.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