Skip to content

DurableTaskResponse<TResult>

class

Namespace: Orleans.Durable.Tasks

Represents a successful durable task with a result value.
[Orleans.Alias(Orleans.Durable.Tasks.DurableTaskResponse`1)]
public sealed class DurableTaskResponse<TResult> : DurableTaskResponse

Constructors

Properties

  • ExceptionGets the terminal exception, if any.
  • ResponseKindGets the response kind.
  • ResultGets the untyped result, or throws if the task did not complete successfully.
  • ResultTypeGets the declared result type, if any.
  • TypedResultGets the typed result.

Methods

  • GetResultReturns the result as T, or throws if it is unavailable or incompatible.