DynamicMethod.CreateDelegate Method

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Completes the dynamic method and creates a delegate that can be used to execute it.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

Name Description
CreateDelegate(Type) Completes the dynamic method and creates a delegate of the specified type, which can be used to execute the dynamic method. (Overrides MethodInfo..::.CreateDelegate(Type).)
CreateDelegate(Type, Object) Completes the dynamic method and creates a delegate that can be used to execute it, specifying the delegate type and an object the delegate is bound to. (Overrides MethodInfo..::.CreateDelegate(Type, Object).)

Top

See Also

Reference

DynamicMethod Class

DynamicMethod Members

System.Reflection.Emit Namespace