Class: ActivityCancellationDetails
common.ActivityCancellationDetails
Provides the reasons for the activity's cancellation. Cancellation details are set once and do not change once set.
Constructors
constructor
• new ActivityCancellationDetails(options?
): ActivityCancellationDetails
Parameters
Name | Type |
---|---|
options? | ActivityCancellationDetailsOptions |
Returns
Properties
cancelRequested
• Readonly
cancelRequested: boolean
notFound
• Readonly
notFound: boolean
paused
• Readonly
paused: boolean
reset
• Readonly
reset: boolean
timedOut
• Readonly
timedOut: boolean
workerShutdown
• Readonly
workerShutdown: boolean
Methods
fromProto
▸ fromProto(proto
): ActivityCancellationDetails
Parameters
Name | Type |
---|---|
proto | undefined | null | IActivityCancellationDetails |