113/03/12
This commit is contained in:
13
HangfireExample.WebService/Services/IJobService.cs
Normal file
13
HangfireExample.WebService/Services/IJobService.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace HangfireExample.WebService.Services
|
||||
{
|
||||
/// <summary>
|
||||
/// Job 服務。
|
||||
/// </summary>
|
||||
public interface IJobService
|
||||
{
|
||||
public string Fire(string message);
|
||||
public string Delay(string message, int seconds, int minutes = 0, int hours = 0, int days = 0);
|
||||
public string Recurring(string message, string jobId, string expression);
|
||||
public string Continuation(string message, string jobId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user