C# Класс DotNetWorkQueue.Transport.SQLite.ConfigurationExtensionsForIAdditionalMessageData

Extension methods for setting sqlite specific properties on the additional message data classes
Показать файл Открыть проект

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

Метод Описание
GetDelay ( this data ) : TimeSpan?

Gets the message delay.

GetExpiration ( this data ) : TimeSpan?

Gets the message expiration.

GetPriority ( this data ) : ushort?

Gets the priority.

Defaults to 128. Min value is 0, max value is 255. 0 = highest priority 255 = lowest priority

SetDelay ( this data, System.TimeSpan delay ) : void

Sets the message delay.

SetExpiration ( this data, System.TimeSpan expiration ) : void

Sets the message expiration.

SetPriority ( this data, ushort priority ) : void

Sets the priority.

Defaults to 128. Min value is 0, max value is 255. 0 = highest priority 255 = lowest priority

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

GetDelay() публичный статический Метод

Gets the message delay.
public static GetDelay ( this data ) : TimeSpan?
data this The data.
Результат TimeSpan?

GetExpiration() публичный статический Метод

Gets the message expiration.
public static GetExpiration ( this data ) : TimeSpan?
data this The data.
Результат TimeSpan?

GetPriority() публичный статический Метод

Gets the priority.
Defaults to 128. Min value is 0, max value is 255. 0 = highest priority 255 = lowest priority
public static GetPriority ( this data ) : ushort?
data this The data.
Результат ushort?

SetDelay() публичный статический Метод

Sets the message delay.
public static SetDelay ( this data, System.TimeSpan delay ) : void
data this The data.
delay System.TimeSpan The delay.
Результат void

SetExpiration() публичный статический Метод

Sets the message expiration.
public static SetExpiration ( this data, System.TimeSpan expiration ) : void
data this The data.
expiration System.TimeSpan The expiration.
Результат void

SetPriority() публичный статический Метод

Sets the priority.
Defaults to 128. Min value is 0, max value is 255. 0 = highest priority 255 = lowest priority
public static SetPriority ( this data, ushort priority ) : void
data this The data.
priority ushort The priority.
Результат void