MethodAccessorInvokeStaticAction Method

Invokes a parameterless static action method.

Definition

Namespace: KGySoft.Reflection
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public void InvokeStaticAction()

Exceptions

NotSupportedExceptionThis MethodAccessor represents a method with more than four parameters.
InvalidOperationExceptionThis MethodAccessor represents an instance method, an open generic method or a method of an open generic type.
ArgumentExceptionThis MethodAccessor does not represent a parameterless action method so type arguments should be specified (use the generic invoker method with matching type arguments).

See Also