C# Class NServiceBus.ConfigurationTimeoutExtensions

Extension methods declarations.
Show file Open project: Particular/NServiceBus

Public Methods

Method Description
TimeToWaitBeforeTriggeringCriticalErrorOnTimeoutOutages ( this config, System.TimeSpan timeToWait ) : void

A critical error is raised when timeout retrieval fails. By default we wait for 2 seconds for the storage to come back. This method allows to change the default and extend the wait time.

Method Details

TimeToWaitBeforeTriggeringCriticalErrorOnTimeoutOutages() public static method

A critical error is raised when timeout retrieval fails. By default we wait for 2 seconds for the storage to come back. This method allows to change the default and extend the wait time.
public static TimeToWaitBeforeTriggeringCriticalErrorOnTimeoutOutages ( this config, System.TimeSpan timeToWait ) : void
config this The instance to apply the settings to.
timeToWait System.TimeSpan Time to wait before raising a critical error.
return void