ProcessingQueue.ConcurrentExecution Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| ConcurrentExecution(Action) |
Executes |
| ConcurrentExecution<T>(Func<T>, T) |
Executes |
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
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.