ExecutionScope.CreateDelegate Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Creates a delegate that can be used to execute a dynamically generated method.

Namespace:  System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

public Delegate CreateDelegate(
	int indexLambda,
	Object[] locals


Type: System.Int32
The index of the object that stores information about associated lambda expression of the dynamic method.
Type: System.Object[]
An array that contains the hoisted local variables from the parent context.

Return Value

Type: System.Delegate
A Delegate that can execute a dynamically generated method.


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: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions