Class WorkflowTaskFailedEventAttributes
Inheritance
WorkflowTaskFailedEventAttributes
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class WorkflowTaskFailedEventAttributes : Google.Protobuf.IMessage<WorkflowTaskFailedEventAttributes>, Google.Protobuf.IBufferMessage
Constructors
WorkflowTaskFailedEventAttributes()
Declaration
public WorkflowTaskFailedEventAttributes()
WorkflowTaskFailedEventAttributes(WorkflowTaskFailedEventAttributes)
Declaration
public WorkflowTaskFailedEventAttributes(WorkflowTaskFailedEventAttributes other)
Parameters
Fields
BaseRunIdFieldNumber
Field number for the "base_run_id" field.
Declaration
public const int BaseRunIdFieldNumber = null
Field Value
BinaryChecksumFieldNumber
Field number for the "binary_checksum" field.
Declaration
public const int BinaryChecksumFieldNumber = null
Field Value
CauseFieldNumber
Field number for the "cause" field.
Declaration
public const int CauseFieldNumber = null
Field Value
FailureFieldNumber
Field number for the "failure" field.
Declaration
public const int FailureFieldNumber = null
Field Value
ForkEventVersionFieldNumber
Field number for the "fork_event_version" field.
Declaration
public const int ForkEventVersionFieldNumber = null
Field Value
IdentityFieldNumber
Field number for the "identity" field.
Declaration
public const int IdentityFieldNumber = null
Field Value
NewRunIdFieldNumber
Field number for the "new_run_id" field.
Declaration
public const int NewRunIdFieldNumber = null
Field Value
ScheduledEventIdFieldNumber
Field number for the "scheduled_event_id" field.
Declaration
public const int ScheduledEventIdFieldNumber = null
Field Value
StartedEventIdFieldNumber
Field number for the "started_event_id" field.
Declaration
public const int StartedEventIdFieldNumber = null
Field Value
Properties
BaseRunId
The original run id of the workflow. For reset workflow.
Declaration
public string BaseRunId { get; set; }
Property Value
BinaryChecksum
If a worker explicitly failed this task, it's binary id
Declaration
public string BinaryChecksum { get; set; }
Property Value
Cause
Declaration
public WorkflowTaskFailedCause Cause { get; set; }
Property Value
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
Failure
Declaration
public Failure Failure { get; set; }
Property Value
ForkEventVersion
Declaration
public long ForkEventVersion { get; set; }
Property Value
Identity
If a worker explicitly failed this task, it's identity. TODO: What is this set to if server fails the task?
Declaration
public string Identity { get; set; }
Property Value
NewRunId
If the workflow is being reset, the new run id.
Declaration
public string NewRunId { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<WorkflowTaskFailedEventAttributes> Parser { get; }
Property Value
ScheduledEventId
The id of the WORKFLOW_TASK_SCHEDULED
event this task corresponds to
Declaration
public long ScheduledEventId { get; set; }
Property Value
StartedEventId
The id of the WORKFLOW_TASK_STARTED
event this task corresponds to
Declaration
public long StartedEventId { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public WorkflowTaskFailedEventAttributes Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(WorkflowTaskFailedEventAttributes)
Declaration
public bool Equals(WorkflowTaskFailedEventAttributes other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
MergeFrom(Google.Protobuf.CodedInputStream)
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(WorkflowTaskFailedEventAttributes)
Declaration
public void MergeFrom(WorkflowTaskFailedEventAttributes other)
Parameters
ToString()
Declaration
public override string ToString()
Returns
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Implements
Google.Protobuf.IBufferMessage