Click or drag to resize
FileSystemRepositoryManagerStoreAll Method
Stores all supported objects to the file system repository.

Namespace: CMS.ContinuousIntegration
Assembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 13.0.131
Syntax
C#
public static RepositoryActionResult StoreAll(
	Action<LogItem> messageHandler = null,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

messageHandler (Optional)
Type: SystemActionLogItem
Handler with messages from store process.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
Operation can be canceled at any time using given cancellation token. This method's operation terminates as soon as cancellation request is detected.

Return Value

Type: RepositoryActionResult
Returns result object of the restoring process. Successful restoring is indicating by Success flag.
Exceptions
ExceptionCondition
RepositoryConfigurationExceptionThrown when loading of repository configuration fails.
Remarks

Target location on the file system will be cleaned up before storing.

Restoring of all is disabled when storing of all objects is running.

See Also