Class WorkflowExecutionCancelRequestedEventAttributes
Inheritance
WorkflowExecutionCancelRequestedEventAttributes
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class WorkflowExecutionCancelRequestedEventAttributes : Google.Protobuf.IMessage<WorkflowExecutionCancelRequestedEventAttributes>, Google.Protobuf.IBufferMessage
Constructors
WorkflowExecutionCancelRequestedEventAttributes()
Declaration
public WorkflowExecutionCancelRequestedEventAttributes()
WorkflowExecutionCancelRequestedEventAttributes(WorkflowExecutionCancelRequestedEventAttributes)
Declaration
public WorkflowExecutionCancelRequestedEventAttributes(WorkflowExecutionCancelRequestedEventAttributes other)
Parameters
Fields
CauseFieldNumber
Field number for the "cause" field.
Declaration
public const int CauseFieldNumber = null
Field Value
ExternalInitiatedEventIdFieldNumber
Field number for the "external_initiated_event_id" field.
Declaration
public const int ExternalInitiatedEventIdFieldNumber = null
Field Value
ExternalWorkflowExecutionFieldNumber
Field number for the "external_workflow_execution" field.
Declaration
public const int ExternalWorkflowExecutionFieldNumber = null
Field Value
IdentityFieldNumber
Field number for the "identity" field.
Declaration
public const int IdentityFieldNumber = null
Field Value
Properties
Cause
User provided reason for requesting cancellation
TODO: shall we create a new field with name "reason" and deprecate this one?
Declaration
public string Cause { get; set; }
Property Value
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
ExternalInitiatedEventId
TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one?
Declaration
public long ExternalInitiatedEventId { get; set; }
Property Value
ExternalWorkflowExecution
Declaration
public WorkflowExecution ExternalWorkflowExecution { get; set; }
Property Value
Identity
id of the worker or client who requested this cancel
Declaration
public string Identity { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<WorkflowExecutionCancelRequestedEventAttributes> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public WorkflowExecutionCancelRequestedEventAttributes Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(WorkflowExecutionCancelRequestedEventAttributes)
Declaration
public bool Equals(WorkflowExecutionCancelRequestedEventAttributes 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(WorkflowExecutionCancelRequestedEventAttributes)
Declaration
public void MergeFrom(WorkflowExecutionCancelRequestedEventAttributes 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