Click or drag to resize
StateChangeContext Constructor (JobStorage, IStorageConnection, String, IState)
Initializes a new instance of the StateChangeContext class

Namespace: Hangfire.States
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public StateChangeContext(
	[NotNullAttribute] JobStorage storage,
	[NotNullAttribute] IStorageConnection connection,
	[NotNullAttribute] string backgroundJobId,
	[NotNullAttribute] IState newState
)

Parameters

storage
Type: HangfireJobStorage

[Missing <param name="storage"/> documentation for "M:Hangfire.States.StateChangeContext.#ctor(Hangfire.JobStorage,Hangfire.Storage.IStorageConnection,System.String,Hangfire.States.IState)"]

connection
Type: Hangfire.StorageIStorageConnection

[Missing <param name="connection"/> documentation for "M:Hangfire.States.StateChangeContext.#ctor(Hangfire.JobStorage,Hangfire.Storage.IStorageConnection,System.String,Hangfire.States.IState)"]

backgroundJobId
Type: SystemString

[Missing <param name="backgroundJobId"/> documentation for "M:Hangfire.States.StateChangeContext.#ctor(Hangfire.JobStorage,Hangfire.Storage.IStorageConnection,System.String,Hangfire.States.IState)"]

newState
Type: Hangfire.StatesIState

[Missing <param name="newState"/> documentation for "M:Hangfire.States.StateChangeContext.#ctor(Hangfire.JobStorage,Hangfire.Storage.IStorageConnection,System.String,Hangfire.States.IState)"]

See Also