Click or drag to resize
Job Constructor (MethodInfo)
Initializes a new instance of the Job class with the metadata of a method with no arguments.

Namespace: Hangfire.Common
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public Job(
	[NotNullAttribute] MethodInfo method
)

Parameters

method
Type: System.ReflectionMethodInfo
Method that should be invoked.
Exceptions
ExceptionCondition
ArgumentNullExceptionmethod argument is null.
NotSupportedExceptionmethod is not supported.
See Also