Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class BackgroundTaskExtensions

Inheritance
System.Object
BackgroundTaskExtensions
Namespace: Mediachase.Commerce.Extensions
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
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.