ProcessingQueue.ConcurrentExecution Method

Definition

Overloads

ConcurrentExecution(Action)

Executes processing synchronously and concurrently (background).

ConcurrentExecution<T>(Func<T>, T)

Executes execute synchronously and concurrently, returning its result via result.

ConcurrentExecution(Action)

Executes processing synchronously and concurrently (background).

public void ConcurrentExecution (Action processing);
member this.ConcurrentExecution : Action -> unit
Public Sub ConcurrentExecution (processing As Action)

Parameters

processing
Action

Remarks

Uses the set exception logger to log any exception that occurs during execution.

NOTE: may deadlock if processing calls this processing queue.

Applies to

ConcurrentExecution<T>(Func<T>, T)

Executes execute synchronously and concurrently, returning its result via result.

public bool ConcurrentExecution<T> (Func<T> execute, out T result);
member this.ConcurrentExecution : Func<'T> * 'T -> bool
Public Function ConcurrentExecution(Of T) (execute As Func(Of T), ByRef result As T) As Boolean

Type Parameters

T

Parameters

execute
Func<T>
result
T

Returns

Boolean

True if the execution succeeded without throwing an exception, and false otherwise.

Remarks

Uses the set exception logger to log any exception that occurs during execution.

NOTE: may deadlock if execute calls this processing queue.

Applies to