DurableTaskResponse
class
Namespace: Orleans.Durable.Tasks
Represents a durable task observation.
[Orleans.Alias(Orleans.Durable.Tasks.DurableTaskResponse)]public abstract class DurableTaskResponseProperties
CanceledCreates a canceled response holding a newSystem.OperationCanceledException.CompletedGets the response for a successful task without a result value.ExceptionGets the terminal exception, if any.IsCompletedGets a value indicating whether the response is terminal.PendingGets the pending response.ResponseKindGets the response kind.ResultGets the untyped result, or throws if the task did not complete successfully.ResultTypeGets the declared result type, if any.StatusGets the execution status represented by this response.SubscribedGets the subscribed response.
Methods
FromCanceled(OperationCanceledException)Creates a canceled response.FromException(Exception)Creates a failed or canceled response from an exception.FromResult(TResult)Creates a successful response containingvalue.GetResultReturns the result asT, or throws if it is unavailable or incompatible.IncompleteCreates the standard exception for access to an incomplete response.
