IBackgroundTaskHandlerContext
The IBackgroundTaskHandlerContext interface is implemented by the object passed to .NET handler Run method. It provides the handler with the context information, input data and an access to the various services (such as logging service).
| InputDataStream | The stream with the input event data. |
| EventId | The event ID. |
| ProgressId | The progress ID. |
| CurrentAttempt | The current attempt. |
| EventMonitor | Gets the event monitor. |
| AuthenticationContext (internal) | Deprecated proprietary authentication context. |
| MultiValueSeparator | The multi value separator of the current project. |
| DateTimeFormat | The standard date time format. |
| WillRetryOnException | Will the background task retry on exception. The Handler should use it to check whether or not it should close the event logging of the background task. |