C# Class NServiceBus.Performance.TimeToBeReceived.DiscardIfNotReceivedBefore

Instructs the transport to discard the message if it hasn't been received. within the specified timespan.
Inheritance: DeliveryConstraint
Show file Open project: Particular/NServiceBus

Public Methods

Method Description
DiscardIfNotReceivedBefore ( System.TimeSpan maxTime ) : System

Initializes the constraint with a max time.

Method Details

DiscardIfNotReceivedBefore() public method

Initializes the constraint with a max time.
public DiscardIfNotReceivedBefore ( System.TimeSpan maxTime ) : System
maxTime System.TimeSpan
return System