IDelayableNotificationType
is defined in the Telligent.Evolution.Extensibility.Content.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IDelayableNotificationType : INotificationType, IPlugin { DateTime DelayUntil(Notification notification, Guid distributionTypeId, DateTime notificationPendingAsOf); }
Methods
DateTime DelayUntil(Notification notification, Guid distributionTypeId, DateTime notificationPendingAsOf);
Takes a Notification object and DistributionTypeId and returns a UTC execution time that can be used to delay a notification. notificationPendingAsOf can be used to ensure the delay does not exceed a max delay period.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
notification | Notification | Notification | Required | ||
distributionTypeId | Guid | Distribution Type Id | Required | ||
notificationPendingAsOf | DateTime | Notification Pending As Of | Required |
Return Type
DateTime