| Job Constructor (Type, MethodInfo, Object) |
Initializes a new instance of the
Job class with the
type, metadata of a method and the given list of arguments.
Namespace: Hangfire.CommonAssembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax public Job(
[NotNullAttribute] Type type,
[NotNullAttribute] MethodInfo method,
[NotNullAttribute] params Object[] args
)
Public Sub New (
<NotNullAttribute> type As Type,
<NotNullAttribute> method As MethodInfo,
<NotNullAttribute> ParamArray args As Object()
)
Parameters
- type
- Type: SystemType
Type that contains the given method. - method
- Type: System.ReflectionMethodInfo
Method that should be invoked. - args
- Type: SystemObject
Arguments that should be passed during the method call.
Exceptions See Also