Skip to content

DurableTaskResponse Methods

Represents a durable task observation.

FromException(Exception)

static
View source
public static DurableTaskResponse FromException(Exception exception)
Creates a failed or canceled response from an exception.

Parameters

exceptionException

FromResult(TResult)

static
View source
public static DurableTaskResponse<TResult> FromResult<TResult>(TResult value)
Creates a successful response containing value.

Parameters

valueTResult

GetResult

abstract
public abstract T GetResult<T>()
Returns the result as T, or throws if it is unavailable or incompatible.

Incomplete

static
View source
protected static InvalidOperationException Incomplete()
Creates the standard exception for access to an incomplete response.