FileSystemDeleteObjectsByTypeJobRunInternal Method |
Deletes all objects of given object type that are not present in the file system repository from the database.
Namespace: CMS.ContinuousIntegration.InternalAssembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 13.0.131
Syntax protected override void RunInternal(
string objectType,
ISet<RepositoryLocationsCollection> fileLocations,
CancellationToken cancellationToken
)
Parameters
- objectType
- Type: SystemString
Objects of given object type will be restored. - fileLocations
- Type: System.Collections.GenericISetRepositoryLocationsCollection
Set of all locations' of objects stored in the repository that are of given objectType. - cancellationToken
- Type: System.ThreadingCancellationToken
Operation can be canceled at any time using given cancellation token. This method's operation terminates as soon as cancellation request is detected.
Exceptions Exception | Condition |
---|
OperationCanceledException | Thrown when operation was canceled. |
Remarks
This operation can be canceled using given cancellationToken at any time.
This method's operations throws OperationCanceledException as soon as cancellation request is detected.
See Also