C# Class NServiceBus.InMemory.Outbox.InMemoryOutboxSettingsExtensions

Contains InMemoryOutbox related settings extensions.
Mostra file Open project: Particular/NServiceBus

Public Methods

Method Description
TimeToKeepDeduplicationData ( this settings, System.TimeSpan time ) : OutboxSettings

Specifies how long the outbox should keep message data in storage to be able to deduplicate.

Method Details

TimeToKeepDeduplicationData() public static method

Specifies how long the outbox should keep message data in storage to be able to deduplicate.
public static TimeToKeepDeduplicationData ( this settings, System.TimeSpan time ) : OutboxSettings
settings this The outbox settings.
time System.TimeSpan /// Defines the timespan which indicates how long the outbox deduplication entries should be kept. /// i.e. if TimeSpan.FromDays(1) is used the deduplication entries are kept for no longer than one day. /// It is not possible to use a negative or zero TimeSpan value. ///
return NServiceBus.Outbox.OutboxSettings