C# Класс DotNetWorkQueue.Configuration.QueueDelay

Defines the worker thread delay behavior when no records are found to process, or if a serious transport exception has occurred.
Наследование: IQueueDelay
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
FailIfReadOnly ( ) : void

Throws an exception if the read only flag is true.

Приватные методы

Метод Описание
IEnumerable ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

Описание методов

Add() публичный Метод

Adds the specified delays.
public Add ( IEnumerable delays ) : void
delays IEnumerable The delays.
Результат void

Add() публичный Метод

Adds the specified delay.
public Add ( System.TimeSpan delay ) : void
delay System.TimeSpan The delay.
Результат void

Clear() публичный Метод

Clears this instance.
public Clear ( ) : void
Результат void

FailIfReadOnly() защищенный Метод

Throws an exception if the read only flag is true.
protected FailIfReadOnly ( ) : void
Результат void

GetEnumerator() публичный Метод

Returns an enumerator that iterates through the collection.
public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

QueueDelay() публичный Метод

Initializes a new instance of the QueueDelay class.
public QueueDelay ( ) : System
Результат System

QueueDelay() публичный Метод

Initializes a new instance of the QueueDelay class.
public QueueDelay ( IEnumerable delays ) : System
delays IEnumerable The delays.
Результат System

SetReadOnly() публичный Метод

Marks this instance as immutable
public SetReadOnly ( ) : void
Результат void