Click or drag to resize
CreatingContextSetJobParameter Method
Sets the job parameter of the specified name to the corresponding value. The value of the parameter is serialized to a JSON string.

Namespace: Hangfire.Client
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public void SetJobParameter(
	string name,
	Object value
)

Parameters

name
Type: SystemString
The name of the parameter.
value
Type: SystemObject
The value of the parameter.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe name is null or empty.
See Also