GetInvocationList Method

MulticastDelegate.GetInvocationList Method ()

 

Returns the invocation list of this multicast delegate, in invocation order.

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

public override sealed Delegate[] GetInvocationList()

Return Value

Type: System.Delegate[]

An array of delegates whose invocation lists collectively match the invocation list of this instance.

Exception Condition
MemberAccessException

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

The array contains a set of delegates, each with an invocation list of one entry. Invoking these delegates sequentially, in the order they appear in the array, produces the same results as invoking the current instance.

ReflectionPermission

when invoked late-bound through mechanisms such as Type.InvokeMember. Associated enumeration: ReflectionPermissionFlag.MemberAccess

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft