Class BackgroundTaskMessage

Default implementation of IBackgroundTaskMessage.

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.BackgroundTasks
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class BackgroundTaskMessage : IBackgroundTaskMessage

Constructors

BackgroundTaskMessage()

Declaration
public BackgroundTaskMessage()

BackgroundTaskMessage(IBackgroundTaskMessage)

Declaration
public BackgroundTaskMessage(IBackgroundTaskMessage source)
Parameters
Type Name Description
IBackgroundTaskMessage source

BackgroundTaskMessage(DateTime, BackgroundTaskMessageType, String, String, Int32, Int32, Int32, Int32, Exception, String, String)

Declaration
public BackgroundTaskMessage(DateTime timestampUtc, BackgroundTaskMessageType messageType, string message, string stageName, int stageIndex, int stageCount, int stageProgress, int stageTotalProgress, Exception exception, string exceptionMessage, string exceptionStackTrace)
Parameters
Type Name Description
System.DateTime timestampUtc
BackgroundTaskMessageType messageType
System.String message
System.String stageName
System.Int32 stageIndex
System.Int32 stageCount
System.Int32 stageProgress
System.Int32 stageTotalProgress
System.Exception exception
System.String exceptionMessage
System.String exceptionStackTrace

Properties

Exception

Declaration
public Exception Exception { get; set; }
Property Value
Type Description
System.Exception

ExceptionMessage

Declaration
public string ExceptionMessage { get; set; }
Property Value
Type Description
System.String

ExceptionStackTrace

Declaration
public string ExceptionStackTrace { get; set; }
Property Value
Type Description
System.String

Message

Declaration
public string Message { get; set; }
Property Value
Type Description
System.String

MessageType

Declaration
public BackgroundTaskMessageType MessageType { get; set; }
Property Value
Type Description
BackgroundTaskMessageType

StageCount

Declaration
public int StageCount { get; set; }
Property Value
Type Description
System.Int32

StageIndex

Declaration
public int StageIndex { get; set; }
Property Value
Type Description
System.Int32

StageName

Declaration
public string StageName { get; set; }
Property Value
Type Description
System.String

StageProgress

Declaration
public int StageProgress { get; set; }
Property Value
Type Description
System.Int32

StageTotalProgress

Declaration
public int StageTotalProgress { get; set; }
Property Value
Type Description
System.Int32

TimestampUtc

Declaration
public DateTime TimestampUtc { get; set; }
Property Value
Type Description
System.DateTime

Implements

Extension Methods