Class InitializationPipelineTaskFailure
One task that threw during a run, kept on FailedTasks so a degraded boot can name every subsystem it is missing instead of leaving the reader to scroll back through the boot log.
Inherited Members
Namespace: Serenity.InitializationPipeline.Domain.Entities
Assembly: Serenity.InitializationPipeline.Domain.dll
Syntax
public sealed class InitializationPipelineTaskFailure
Constructors
InitializationPipelineTaskFailure(string, Exception, bool)
Declaration
public InitializationPipelineTaskFailure(string taskId, Exception error, bool haltedTheBoot)
Parameters
| Type | Name | Description |
|---|---|---|
| string | taskId | The id of the task that threw. |
| Exception | error | The exception it threw. |
| bool | haltedTheBoot | True when this failure's criticality stopped the run. |
Properties
Error
Declaration
public Exception Error { get; }
Property Value
| Type | Description |
|---|---|
| Exception | The exception it threw. |
HaltedTheBoot
Declaration
public bool HaltedTheBoot { get; }
Property Value
| Type | Description |
|---|---|
| bool | True when this failure's criticality stopped the run. |
TaskId
Declaration
public string TaskId { get; }
Property Value
| Type | Description |
|---|---|
| string | The id of the task that threw. |