Click or drag to resize
CreatingContext Class
Provides the context for the OnCreating(CreatingContext) method of the IClientFilter interface.
Inheritance Hierarchy

Namespace: Hangfire.Client
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public class CreatingContext : CreateContext

The CreatingContext type exposes the following members.

Constructors
  NameDescription
Public methodCreatingContext
Initializes a new instance of the CreatingContext class
Top
Properties
  NameDescription
Public propertyCanceled
Gets or sets a value that indicates that this CreatingContext object was canceled.
Public propertyConnection (Inherited from CreateContext.)
Public propertyInitialState
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.)
Public propertyItems
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.)
Public propertyJob (Inherited from CreateContext.)
Public propertyParameters (Inherited from CreateContext.)
Public propertyStorage (Inherited from CreateContext.)
Top
Methods
  NameDescription
Public methodGetJobParameterT
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.
Public methodSetJobParameter
Sets the job parameter of the specified name to the corresponding value. The value of the parameter is serialized to a JSON string.
Top
See Also