Table of Contents

Class AutomationJobMessage

Namespace
Tlabs.JobCntrl.Model
Assembly
Tlabs.JobCntrl.dll

Message to be sent to a MessageSubscription.

public class AutomationJobMessage : ICloneable<AutomationJobMessage>
Inheritance
AutomationJobMessage
Implements
Inherited Members
Extension Methods

Constructors

AutomationJobMessage(object, object?, IReadOnlyDictionary<string, object?>?)

Ctor from source and optional messageObj or optionalProps.

public AutomationJobMessage(object source, object? messageObj = null, IReadOnlyDictionary<string, object?>? optionalProps = null)

Parameters

source object
messageObj object
optionalProps IReadOnlyDictionary<string, object>

Fields

PROP_MSG_OBJ

Name of a property that specifies the message object.

public const string PROP_MSG_OBJ = "Msg-Object"

Field Value

string

Properties

JobProperties

Run-properties to be passed to the automation job(s).

public IReadOnlyDictionary<string, object?> JobProperties { get; }

Property Value

IReadOnlyDictionary<string, object>

MsgObject

Message object.

public object? MsgObject { get; }

Property Value

object

Source

Message source/origin (informational).

public object Source { get; }

Property Value

object

Methods

Clone()

public AutomationJobMessage Clone()

Returns

AutomationJobMessage