C# 클래스 NServiceBus.DelayedDeliveryOptionExtensions

Provides ways for the end user to request delayed delivery of their messages.
파일 보기 프로젝트 열기: Particular/NServiceBus

공개 메소드들

메소드 설명
DelayDeliveryWith ( this options, System.TimeSpan delay ) : void

Delays the delivery of the message with the specified delay.

DoNotDeliverBefore ( this options, DateTimeOffset at ) : void

Requests that the message should not be delivered before the specified time.

GetDeliveryDate ( this options ) : DateTimeOffset?

Returns the delivery date configured by using DoNotDeliverBefore.

GetDeliveryDelay ( this options ) : TimeSpan?

Returns the configured delivery delay by using DelayDeliveryWith.

메소드 상세

DelayDeliveryWith() 공개 정적인 메소드

Delays the delivery of the message with the specified delay.
public static DelayDeliveryWith ( this options, System.TimeSpan delay ) : void
options this The options being extended.
delay System.TimeSpan The requested delay.
리턴 void

DoNotDeliverBefore() 공개 정적인 메소드

Requests that the message should not be delivered before the specified time.
public static DoNotDeliverBefore ( this options, DateTimeOffset at ) : void
options this The options being extended.
at DateTimeOffset The time when this message should be made available.
리턴 void

GetDeliveryDate() 공개 정적인 메소드

Returns the delivery date configured by using DoNotDeliverBefore.
public static GetDeliveryDate ( this options ) : DateTimeOffset?
options this The options being extended.
리턴 DateTimeOffset?

GetDeliveryDelay() 공개 정적인 메소드

Returns the configured delivery delay by using DelayDeliveryWith.
public static GetDeliveryDelay ( this options ) : TimeSpan?
options this The options being extended.
리턴 TimeSpan?