NServiceBus.DelayedRetriesHeaderExtensions.SetDelayedDeliveryTimestamp C# (CSharp) Method

SetDelayedDeliveryTimestamp() public static method

public static SetDelayedDeliveryTimestamp ( this message, System.DateTime timestamp ) : void
message this
timestamp System.DateTime
return void
        public static void SetDelayedDeliveryTimestamp(this OutgoingMessage message, DateTime timestamp)
        {
            message.Headers[Headers.DelayedRetriesTimestamp] = DateTimeExtensions.ToWireFormattedString(timestamp);
        }
    }