# DurableMessagingOptions.DeduplicationWindow

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.configuration.durablemessagingoptions/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.configuration.durablemessagingoptions/properties/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/Messaging/Configuration/DurableMessagingOptions.cs)

```csharp
public TimeSpan DeduplicationWindow
```

Gets or sets how long after a message's send time the receiving inbox retains its processed record and admits deliveries of it. A tracked processed message is answered with [DeliveryResult](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.deliveryresult/), or, when an inbox sink rejected it on delivery, with the same [DeadLettered](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.deliveryresult.deadlettered/) reason and code.

### Value

The deduplication window. Must be greater than [DurableMessagingOptions](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.configuration.durablemessagingoptions/). Defaults to 7 days.
