C# Class DotNetWorkQueue.Configuration.QueueDelay

Defines the worker thread delay behavior when no records are found to process, or if a serious transport exception has occurred.
Inheritance: IQueueDelay
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode Description
Add ( IEnumerable delays ) : void

Adds the specified delays.

Add ( System.TimeSpan delay ) : void

Adds the specified delay.

Clear ( ) : void

Clears this instance.

GetEnumerator ( ) : IEnumerator

Returns an enumerator that iterates through the collection.

QueueDelay ( ) : System

Initializes a new instance of the QueueDelay class.

QueueDelay ( IEnumerable delays ) : System

Initializes a new instance of the QueueDelay class.

SetReadOnly ( ) : void

Marks this instance as immutable

Méthodes protégées

Méthode Description
FailIfReadOnly ( ) : void

Throws an exception if the read only flag is true.

Private Methods

Méthode Description
IEnumerable ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

Method Details

Add() public méthode

Adds the specified delays.
public Add ( IEnumerable delays ) : void
delays IEnumerable The delays.
Résultat void

Add() public méthode

Adds the specified delay.
public Add ( System.TimeSpan delay ) : void
delay System.TimeSpan The delay.
Résultat void

Clear() public méthode

Clears this instance.
public Clear ( ) : void
Résultat void

FailIfReadOnly() protected méthode

Throws an exception if the read only flag is true.
protected FailIfReadOnly ( ) : void
Résultat void

GetEnumerator() public méthode

Returns an enumerator that iterates through the collection.
public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

QueueDelay() public méthode

Initializes a new instance of the QueueDelay class.
public QueueDelay ( ) : System
Résultat System

QueueDelay() public méthode

Initializes a new instance of the QueueDelay class.
public QueueDelay ( IEnumerable delays ) : System
delays IEnumerable The delays.
Résultat System

SetReadOnly() public méthode

Marks this instance as immutable
public SetReadOnly ( ) : void
Résultat void