| BackgroundJobEnqueue Method (ExpressionAction) |
Creates a new fire-and-forget job based on a given method call expression.
Namespace: HangfireAssembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax public static string Enqueue(
[NotNullAttribute][InstantHandleAttribute] Expression<Action> methodCall
)
Public Shared Function Enqueue (
<NotNullAttribute><InstantHandleAttribute> methodCall As Expression(Of Action)
) As String
Parameters
- methodCall
- Type: System.Linq.ExpressionsExpressionAction
Method call expression that will be marshalled to a server.
Return Value
Type:
StringUnique identifier of a background job.
Exceptions See Also Reference
Enqueue Overload