Try our conversational search powered by Generative AI!

Class BackgroundTaskExtensions

Inheritance
System.Object
BackgroundTaskExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Extensions
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public static class BackgroundTaskExtensions

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.