DynamicMethod Constructor

DynamicMethod Constructor

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

Creates a dynamic method.

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

  NameDescription
Public method DynamicMethod(String, Type, Type()) Creates an anonymously hosted dynamic method, specifying the method name, return type, and parameter types.
Public method DynamicMethod(String, Type, Type(), Boolean) Creates an anonymously hosted dynamic method, specifying the method name, return type, parameter types, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.
Public method DynamicMethod(String, Type, Type(), Module) Security Critical. Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, and module.
Public method DynamicMethod(String, Type, Type(), Type) Security Critical. Creates a dynamic method, specifying the method name, return type, parameter types, and the type with which the dynamic method is logically associated.
Public method DynamicMethod(String, Type, Type(), Module, Boolean) Security Critical. Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.
Public method DynamicMethod(String, Type, Type(), Type, Boolean) Security Critical. Creates a dynamic method, specifying the method name, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.
Public method DynamicMethod(String, MethodAttributes, CallingConventions, Type, Type(), Module, Boolean) Security Critical. Creates a dynamic method that is global to a module, specifying the method name, attributes, calling convention, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.
Public method DynamicMethod(String, MethodAttributes, CallingConventions, Type, Type(), Type, Boolean) Security Critical. Creates a dynamic method, specifying the method name, attributes, calling convention, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.
Top

Show:
© 2017 Microsoft