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
)
protected Delegate CombineImpl (
	Delegate d
)
protected function CombineImpl (
	d : Delegate
) : Delegate
Not applicable.

Parameters

d

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

Return Value

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 a null reference (Nothing in Visual Basic).

Exception typeCondition

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0

XNA Framework

Supported in: 1.0

Community Additions

ADD
Show:
© 2014 Microsoft