# DurableHttpOperationOptions Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoperationoptions/)

## MaxPollInterval {#maxpollinterval-88354437}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoperationoptions/properties/maxpollinterval-88354437/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableHttpOperation.cs)

```csharp
public TimeSpan MaxPollInterval
```

Gets the longest interval between polls, which bounds a response's `Retry-After`. The default is one minute, and an interval shorter than [DurableHttpOperationOptions](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoperationoptions/) applies as [DurableHttpOperationOptions](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoperationoptions/).

## Mode {#mode-7a37c22c}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoperationoptions/properties/mode-7a37c22c/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableHttpOperation.cs)

```csharp
public DurableHttpWaitMode Mode
```

Gets how the task observes the running operation. The default is [DurableHttpWaitMode](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpwaitmode/).

## PollInterval {#pollinterval-7b47baff}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoperationoptions/properties/pollinterval-7b47baff/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableHttpOperation.cs)

```csharp
public TimeSpan PollInterval
```

Gets the shortest interval between polls of a running operation, which applies when a response doesn't advertise a longer one with `Retry-After`. The default is five seconds.

## Wait {#wait-77ebeea2}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpoperationoptions/properties/wait-77ebeea2/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableHttpOperation.cs)

```csharp
public TimeSpan Wait
```

Gets the wait which each poll requests with a `Prefer: wait` header, so a server which long-polls answers once the operation completes; `System.TimeSpan.Zero`, the default, requests none.
