EventActionQueueReschedule Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Re-schedules a completed or failed asynchronous event actions job.

Namespace: ContentStudio.EventActions
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public void Reschedule(
	ConnectionId connectionId,
	SessionId sessionId,
	int jobId,
	TimeSpan runAfter
)

Parameters

connectionId
Type: ContentStudioConnectionId
The connection identifier.
sessionId
Type: ContentStudio.SecuritySessionId
The session identifier.
jobId
Type: SystemInt32
The job identifier.
runAfter
Type: SystemTimeSpan
Specifies how long the item should be queued before the ServiceManager is allowed to pick it up again. This value cannot be negative.
Exceptions

ExceptionCondition
CSInvalidSessionException
ArgumentOutOfRangeExceptionrunAfter was negative
CSExceptionPossible CSException types
NumberDescription
2191Job not found. The specified jobId could not be found.
1022Invalid action. The specified jobId can not be re-scheduled since it is not completed or completed with error.
SqlException
Content Studio permissions

Callers with the GlobalGroupAdmin or ServiceQueueAdmin global right can successfully call this method.
Remarks

Not intended to be used outside of the Content Studio infrastructure. This method was added in Content Studio 5.7 update 1.
See Also

Reference