Class BackgroundTaskExtensions
Inheritance
System.Object
BackgroundTaskExtensions
Namespace: Mediachase.Commerce.Extensions
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
public static class BackgroundTaskExtensions : Object
Methods
GetOverallProgress(IBackgroundTaskMessage)
Calculates the overall progress for the message, giving each stage the same weight.
Declaration
public static double GetOverallProgress(this IBackgroundTaskMessage message)
Parameters
| Type | Name | Description |
|---|---|---|
| IBackgroundTaskMessage | message |
Returns
| Type | Description |
|---|---|
| System.Double | The percent completion of the operation, with 100% represented by 1.0. |