MulticastDelegate.CombineImpl Method

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

Combines this Delegate with the specified Delegate to form a new delegate.

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

Syntax

'Declaration
<SecuritySafeCriticalAttribute> _
Protected Overrides NotOverridable Function CombineImpl ( _
    follow As Delegate _
) As Delegate
[SecuritySafeCriticalAttribute]
protected override sealed Delegate CombineImpl(
    Delegate follow
)

Parameters

Return Value

Type: System.Delegate
A Delegate that is the new root of the MulticastDelegate invocation list.

Exceptions

Exception Condition
MemberAccessException

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

ArgumentException

Both a and b are not nulla null reference (Nothing in Visual Basic), and a and b are not instances of the same delegate type.

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.