Skip to content

DurableHttpOptions Properties

Configures the HTTP operations which expose durable tasks.

AllowCallback

getset
View source
public Func<HttpContext, Uri, bool>? AllowCallback
Gets or sets the function which decides whether the server accepts a callback URL which a request registers, such as with an Operation-Callback header or a Nexus callback, or null, the default, which accepts none.

CreateError

getset
View source
public Func<Exception, DurableOperationError> CreateError
Gets or sets the function which describes a failed or canceled task's exception to clients, in the operation's DurableOperation.

GetCallerScope

getset
View source
public Func<HttpContext, string?> GetCallerScope
Gets or sets the function which returns the authorization scope of a request's caller, such as the user or the account which it authenticates as, or null for an anonymous caller.

MaxWait

getset
View source
public TimeSpan MaxWait
Gets or sets the longest wait which a request's Prefer: wait preference receives before the response reports a running operation.

RequireIdempotencyKey

getset
View source
public bool RequireIdempotencyKey
Gets or sets whether a request which starts a durable task must carry an Idempotency-Key header.

RetryAfter

getset
View source
public TimeSpan RetryAfter
Gets or sets the interval which responses for running operations advertise in their Retry-After header, as the minimum time before a client polls the operation again.