BackgroundTaskException

Describes the background task specific exception

This BackgroundTaskException is derived from the standard Exception, but contains an extra ErrorNumber property to ensure that the ErrorNumber which is used to validate if the background task must be retried is propagated correctly.

ErrorNumber

Gets and sets the error number.

BackgroundTaskException

Creates a BackgroundTaskException with:
message
The message of the error

BackgroundTaskException

Creates a BackgroundTaskException with:
message
The message of the error
innerException
The exception that is the cause of the current exception