TaskExtensions.SafeFireAndForget method
Executes a task in the background with error logging. Prevents unobserved task exceptions from being silently lost.
public static void SafeFireAndForget(this Task task, ILogger logger, string operationName)
| parameter | description |
|---|---|
| task | The task to execute. |
| logger | Logger for error reporting. |
| operationName | Name of the operation for diagnostic context. |
See Also
- interface ILogger
- class TaskExtensions
- namespace Autodesk.DataExchange.Core