次の方法で共有


DynamicMethod Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows Phone DynamicMethod(String, Type, array<Type[]) Creates an anonymously hosted dynamic method, specifying the method name, return type, and parameter types.
Public methodSupported by Silverlight for Windows Phone DynamicMethod(String, Type, array<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 methodSupported by Silverlight for Windows Phone DynamicMethod(String, Type, array<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 methodSupported by Silverlight for Windows Phone DynamicMethod(String, Type, array<Type[], Boolean) Security Critical. 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 methodSupported by Silverlight for Windows Phone DynamicMethod(String, Type, array<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 methodSupported by Silverlight for Windows Phone DynamicMethod(String, Type, array<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 methodSupported by Silverlight for Windows Phone DynamicMethod(String, MethodAttributes, CallingConventions, Type, array<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 methodSupported by Silverlight for Windows Phone DynamicMethod(String, MethodAttributes, CallingConventions, Type, array<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