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

Namespace: Hangfire.Server
Assembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax
public BackgroundProcessContext(
	[NotNullAttribute] string serverId,
	[NotNullAttribute] JobStorage storage,
	[NotNullAttribute] IDictionary<string, Object> properties,
	CancellationToken cancellationToken
)

Parameters

serverId
Type: SystemString

[Missing <param name="serverId"/> documentation for "M:Hangfire.Server.BackgroundProcessContext.#ctor(System.String,Hangfire.JobStorage,System.Collections.Generic.IDictionary{System.String,System.Object},System.Threading.CancellationToken)"]

storage
Type: HangfireJobStorage

[Missing <param name="storage"/> documentation for "M:Hangfire.Server.BackgroundProcessContext.#ctor(System.String,Hangfire.JobStorage,System.Collections.Generic.IDictionary{System.String,System.Object},System.Threading.CancellationToken)"]

properties
Type: System.Collections.GenericIDictionaryString, Object

[Missing <param name="properties"/> documentation for "M:Hangfire.Server.BackgroundProcessContext.#ctor(System.String,Hangfire.JobStorage,System.Collections.Generic.IDictionary{System.String,System.Object},System.Threading.CancellationToken)"]

cancellationToken
Type: System.ThreadingCancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:Hangfire.Server.BackgroundProcessContext.#ctor(System.String,Hangfire.JobStorage,System.Collections.Generic.IDictionary{System.String,System.Object},System.Threading.CancellationToken)"]

See Also