CreatingContext Class |
Namespace: Hangfire.Client
The CreatingContext type exposes the following members.
Name | Description | |
---|---|---|
CreatingContext | Initializes a new instance of the CreatingContext class |
Name | Description | |
---|---|---|
Canceled |
Gets or sets a value that indicates that this CreatingContext
object was canceled.
| |
Connection | (Inherited from CreateContext.) | |
InitialState |
Gets the initial state of the creating job. Note, that
the final state of the created job could be changed after
the registered instances of the IElectStateFilter
class are doing their job.
(Inherited from CreateContext.) | |
Items |
Gets an instance of the key-value storage. You can use it
to pass additional information between different client filters
or just between different methods.
(Inherited from CreateContext.) | |
Job | (Inherited from CreateContext.) | |
Parameters | (Inherited from CreateContext.) | |
Storage | (Inherited from CreateContext.) |
Name | Description | |
---|---|---|
GetJobParameterT |
Gets the job parameter of the specified name
if it exists. The parameter is deserialized from a JSON
string value to the given type T.
| |
SetJobParameter |
Sets the job parameter of the specified name
to the corresponding value. The value of the
parameter is serialized to a JSON string.
|