Documentation Center

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.

Properties

ErrorNumberGets and sets the error number.

Methods

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