Skip to content

DurableTaskResponse Properties

Represents a durable task observation.

Canceled

staticget
View source
public static DurableTaskResponse Canceled
Creates a canceled response holding a new System.OperationCanceledException.

Completed

staticget
View source
public static DurableTaskResponse Completed
Gets the response for a successful task without a result value.

Exception

abstractget
public abstract Exception? Exception
Gets the terminal exception, if any.

Pending

staticget
View source
public static DurableTaskResponse Pending
Gets the pending response.

ResponseKind

abstractget
public abstract DurableTaskResponseKind ResponseKind
Gets the response kind.

Result

abstractget
public abstract object? Result
Gets the untyped result, or throws if the task did not complete successfully.

Status

get
View source
public DurableTaskStatus Status
Gets the execution status represented by this response.