Click or drag to resize
ApplyStateContext Constructor
Initializes a new instance of the ApplyStateContext class

Namespace: Hangfire.States
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public ApplyStateContext(
	[NotNullAttribute] JobStorage storage,
	[NotNullAttribute] IStorageConnection connection,
	[NotNullAttribute] IWriteOnlyTransaction transaction,
	[NotNullAttribute] BackgroundJob backgroundJob,
	[NotNullAttribute] IState newState,
	[CanBeNullAttribute] string oldStateName
)

Parameters

storage
Type: HangfireJobStorage

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

connection
Type: Hangfire.StorageIStorageConnection

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

transaction
Type: Hangfire.StorageIWriteOnlyTransaction

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

backgroundJob
Type: HangfireBackgroundJob

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

newState
Type: Hangfire.StatesIState

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

oldStateName
Type: SystemString

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

See Also