 | Job Constructor (MethodInfo) |
Initializes a new instance of the
Job class with the
metadata of a method with no arguments.
Namespace: Hangfire.CommonAssembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntaxpublic Job(
[NotNullAttribute] MethodInfo method
)
Public Sub New (
<NotNullAttribute> method As MethodInfo
)
Parameters
- method
- Type: System.ReflectionMethodInfo
Method that should be invoked.
Exceptions
See Also