 | 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.ClientAssembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntaxpublic void SetJobParameter(
string name,
Object value
)
Public Sub SetJobParameter (
name As String,
value As Object
)
Parameters
- name
- Type: SystemString
The name of the parameter. - value
- Type: SystemObject
The value of the parameter.
Exceptions
See Also