Skip to content

Commit 436850e

Browse files
committed
save
1 parent dd5f9e4 commit 436850e

File tree

7 files changed

+27
-26
lines changed

7 files changed

+27
-26
lines changed

src/Client/Core/DurableTaskClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,4 +408,4 @@ public virtual Task<PurgeResult> PurgeAllInstancesAsync(
408408
/// </summary>
409409
/// <returns>A <see cref="ValueTask"/> that completes when the disposal completes.</returns>
410410
public abstract ValueTask DisposeAsync();
411-
}
411+
}

src/ScheduledTasks/Client/IScheduledTaskClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public interface IScheduledTaskClient
2424
/// <summary>
2525
/// Creates a new schedule with the specified configuration.
2626
/// </summary>
27+
/// <param name="scheduleConfigCreateOptions">The configuration options for creating the schedule.</param>
2728
/// <returns>The ID of the newly created schedule.</returns>
2829
Task<IScheduleHandle> CreateScheduleAsync(ScheduleCreationOptions scheduleConfigCreateOptions);
2930

src/ScheduledTasks/Exception/ScheduleAlreadyExistException.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ namespace Microsoft.DurableTask.ScheduledTasks;
88
/// </summary>
99
public class ScheduleAlreadyExistException : Exception
1010
{
11-
/// <summary>
12-
/// Gets the ID of the schedule that already exists.
13-
/// </summary>
14-
public string ScheduleId { get; }
15-
1611
/// <summary>
1712
/// Initializes a new instance of the <see cref="ScheduleAlreadyExistException"/> class.
1813
/// </summary>
@@ -33,4 +28,9 @@ public ScheduleAlreadyExistException(string scheduleId, Exception innerException
3328
{
3429
this.ScheduleId = scheduleId;
3530
}
31+
32+
/// <summary>
33+
/// Gets the ID of the schedule that already exists.
34+
/// </summary>
35+
public string ScheduleId { get; }
3636
}

src/ScheduledTasks/Exception/ScheduleInternalException.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ namespace Microsoft.DurableTask.ScheduledTasks;
88
/// </summary>
99
public class ScheduleInternalException : Exception
1010
{
11-
/// <summary>
12-
/// Gets the ID of the schedule that encountered the internal error.
13-
/// </summary>
14-
public string ScheduleId { get; }
15-
1611
/// <summary>
1712
/// Initializes a new instance of the <see cref="ScheduleInternalException"/> class.
1813
/// </summary>
@@ -35,4 +30,9 @@ public ScheduleInternalException(string scheduleId, string message, Exception in
3530
{
3631
this.ScheduleId = scheduleId;
3732
}
33+
34+
/// <summary>
35+
/// Gets the ID of the schedule that encountered the internal error.
36+
/// </summary>
37+
public string ScheduleId { get; }
3838
}

src/ScheduledTasks/Exception/ScheduleNotFoundException.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ namespace Microsoft.DurableTask.ScheduledTasks;
88
/// </summary>
99
public class ScheduleNotFoundException : Exception
1010
{
11-
/// <summary>
12-
/// Gets the ID of the schedule that was not found.
13-
/// </summary>
14-
public string ScheduleId { get; }
15-
1611
/// <summary>
1712
/// Initializes a new instance of the <see cref="ScheduleNotFoundException"/> class.
1813
/// </summary>
@@ -33,4 +28,9 @@ public ScheduleNotFoundException(string scheduleId, Exception innerException)
3328
{
3429
this.ScheduleId = scheduleId;
3530
}
31+
32+
/// <summary>
33+
/// Gets the ID of the schedule that was not found.
34+
/// </summary>
35+
public string ScheduleId { get; }
3636
}

src/ScheduledTasks/Exception/ScheduleStillBeingProvisionedException.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ namespace Microsoft.DurableTask.ScheduledTasks;
88
/// </summary>
99
public class ScheduleStillBeingProvisionedException : Exception
1010
{
11-
/// <summary>
12-
/// Gets the ID of the schedule that is still being provisioned.
13-
/// </summary>
14-
public string ScheduleId { get; }
15-
1611
/// <summary>
1712
/// Initializes a new instance of the <see cref="ScheduleStillBeingProvisionedException"/> class.
1813
/// </summary>
@@ -33,4 +28,9 @@ public ScheduleStillBeingProvisionedException(string scheduleId, Exception inner
3328
{
3429
this.ScheduleId = scheduleId;
3530
}
31+
32+
/// <summary>
33+
/// Gets the ID of the schedule that is still being provisioned.
34+
/// </summary>
35+
public string ScheduleId { get; }
3636
}

src/ScheduledTasks/Models/ScheduleCreationOptions.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ public record ScheduleCreationOptions
1313
/// </summary>
1414
TimeSpan? interval;
1515

16-
/// <summary>
17-
/// Gets the name of the orchestration function to schedule.
18-
/// </summary>
19-
public string OrchestrationName { get; init; }
20-
2116
/// <summary>
2217
/// Initializes a new instance of the <see cref="ScheduleCreationOptions"/> class.
2318
/// </summary>
@@ -29,6 +24,11 @@ public ScheduleCreationOptions(string orchestrationName)
2924
this.OrchestrationName = orchestrationName;
3025
}
3126

27+
/// <summary>
28+
/// Gets the name of the orchestration function to schedule.
29+
/// </summary>
30+
public string OrchestrationName { get; init; }
31+
3232
/// <summary>
3333
/// Gets the ID of the schedule, if not provided, default to a new GUID.
3434
/// </summary>

0 commit comments

Comments
 (0)