ExecutionScope::CreateDelegate Method (Int32, array<Object^>^)

 

This API supports the product 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,
	array<Object^>^ locals
)

Parameters

indexLambda
Type: System::Int32

The index of the object that stores information about associated lambda expression of the dynamic method.

locals
Type: array<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.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: