Click or drag to resize
StateChangeContext Constructor (JobStorage, IStorageConnection, String, IState, String)
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,
	[CanBeNullAttribute] params string[] expectedStates
)

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,System.String[])"]

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,System.String[])"]

backgroundJobId
Type: SystemString

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

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,System.String[])"]

expectedStates
Type: SystemString

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

See Also