Skip to main content

Class ExternalEvent

External event.

Assembly: Taskurai.dll​
Declaration
public class ExternalEvent

Derived:
Taskurai.Models.TaskCompletionEvent

Properties​

AccountId​

Account id.

Declaration
public string AccountId { get; }

InstanceId​

Instance id.

Declaration
public string InstanceId { get; }

Id​

Event id.

Declaration
public string Id { get; }

TaskId​

Task id.

Declaration
public string TaskId { get; }

Command​

Task command.

Declaration
public string Command { get; }

ExternalAccountId​

External account id.

Declaration
public string ExternalAccountId { get; }

ExternalUserId​

External user id.

Declaration
public string ExternalUserId { get; }

IsolationMode​

Isolation mode.

Declaration
public bool? IsolationMode { get; }

IsolationKey​

Isolation key.

Declaration
public string IsolationKey { get; }

TraceParent​

W3C Trace Parent.

Declaration
public string TraceParent { get; }

Created​

Event created (utc).

Declaration
public DateTimeOffset? Created { get; set; }

Type​

Event type.

Declaration
public EventType? Type { get; set; }

ParentTaskId​

Parent task id.

Declaration
public string ParentTaskId { get; set; }

SubTaskId​

Sub task id.

Declaration
public string SubTaskId { get; set; }

EventName​

Sub task id.

Declaration
public string EventName { get; set; }

EventData​

EventData JSON payload.

Declaration
public BinaryData EventData { get; set; }

Methods​

GetEventDataValue<T>(JsonSerializerOptions)​

Gets the event data value.

Declaration
public T GetEventDataValue<T>(JsonSerializerOptions options = null)
Returns​

<T>: The event data value if found; otherwise, the default value.

Parameters​
TypeName
System.Text.Json.JsonSerializerOptionsoptions
Type Parameters​
NameDescription
TThe type to deserialized the event data value to.