C# 클래스 DotNetWorkQueue.Transport.SQLite.ConfigurationExtensionsForIAdditionalMessageData

Extension methods for setting sqlite specific properties on the additional message data classes
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue

공개 메소드들

메소드 설명
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