WaitForOperationAsync(DurableHttpOperation, DurableHttpOperationOptions?)
abstract
public abstract DurableTask<TResult> WaitForOperationAsync<TResult>(DurableHttpOperation operation, DurableHttpOperationOptions? options = null)Durably waits for an operation's result.
Parameters
operationDurableHttpOperation- The operation which
IDurableHttpClientreturned. optionsDurableHttpOperationOptions?- Configures the wait, or
nullfor the defaults.
Returns
A durable task which returns the operation's result.
Exceptions
Orleans.Durable.Http.DurableHttpOperationException- The operation failed or was canceled.
System.Net.Http.HttpRequestException- A response has a status code which reports neither a status nor a result.
