Class NotificationDispatcherJob
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Notification.Internal
Assembly: EPiServer.dll
Version: 11.20.7Syntax
[ScheduledPlugIn(GUID = "4B61CDB6-CC46-417C-A1AD-A5020A32E1D3", DisplayName = "Notification Dispatcher", LanguagePath = "/admin/databasejob/notificationdispatcher", HelpFile = "notificationdispatcherjob", DefaultEnabled = true, InitialTime = "0:30:0", IntervalLength = 30, IntervalType = ScheduledIntervalType.Minutes, Restartable = true)]
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class NotificationDispatcherJob : ScheduledJobBase, IScheduledJob, IDisposable
Constructors
NotificationDispatcherJob(INotificationDispatcher, LocalizationService, INotificationRepository)
Declaration
public NotificationDispatcherJob(INotificationDispatcher dispatcher, LocalizationService localizationService, INotificationRepository notificationRepository)
Parameters
Type | Name | Description |
---|---|---|
INotificationDispatcher | dispatcher | |
LocalizationService | localizationService | |
INotificationRepository | notificationRepository |
Methods
Dispose()
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Execute()
Declaration
public override string Execute()
Returns
Type | Description |
---|---|
System.String |
Overrides
MakeErrorMessage(DispatcherResult, Int32)
Declaration
protected virtual string MakeErrorMessage(DispatcherResult dispatcherResult, int numberOfErrorMsg = -1)
Parameters
Type | Name | Description |
---|---|---|
DispatcherResult | dispatcherResult | |
System.Int32 | numberOfErrorMsg |
Returns
Type | Description |
---|---|
System.String |
OnStatusChanged(String)
Declaration
protected override void OnStatusChanged(string statusMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | statusMessage |
Overrides
Stop()
Declaration
public override void Stop()
Overrides
Implements
System.IDisposable