Class ProgressMessage
- Namespace
- GroupeIsa.Neos.Application.MethodRunners
- Assembly
- GroupeIsa.Neos.Application.Abstractions.dll
Represents a message about the progress of a background server method.
public sealed class ProgressMessage
- Inheritance
-
ProgressMessage
- Inherited Members
Constructors
ProgressMessage()
Initializes a new instance of the ProgressMessage class.
public ProgressMessage()
Properties
AdditionalData
Gets or sets additional data.
public Dictionary<string, string> AdditionalData { get; set; }
Property Value
ClusterName
Gets or sets the cluster name.
public string ClusterName { get; set; }
Property Value
ExecutionIdentifier
Gets or sets the identifier of the server method background execution.
public string ExecutionIdentifier { get; set; }
Property Value
Id
Gets the identifier of the message.
public Guid Id { get; }
Property Value
Message
Gets or sets the message.
public string? Message { get; set; }
Property Value
PercentProgress
Gets or sets the percent progress.
public int? PercentProgress { get; set; }
Property Value
- int?
ServerMethodName
Gets or sets the server method name.
public string ServerMethodName { get; set; }
Property Value
State
Gets or sets the execution state.
public ExecutionState State { get; set; }
Property Value
Time
Gets or sets the UTC time of the message.
public DateTime Time { get; set; }
Property Value
Methods
IsCompleted()
Gets a value indicating whether the execution is completed.
public bool IsCompleted()
Returns
- bool
A boolean value indicating whether the execution is completed.
WithClusterName(string)
Sets the cluster name.
public ProgressMessage WithClusterName(string clusterName)
Parameters
clusterNamestringCluster name.
Returns
- ProgressMessage
The same instance.