Returns a new delegate with the specified static method as its invocation list.
A Delegate of type type that invokes method.
Type Reason System.Security.Permissions.ReflectionPermission Requires permission to access type information. See System.Security.Permissions.ReflectionPermissionFlag.MemberAccess
Type Reason ArgumentNullException type, target, or method is null. ArgumentException type does not derive from Delegate.
-or-
method is not a static method.
-or-
target does not implement method .
MethodAccessException The caller does not have the required permission.
Note: This method is used to dynamically create delegates that invoke static methods. To create a delegate that invokes instance methods, see Delegate.CreateDelegate(Type, object, string)(Type, object, string).
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0