Interface IRecoveryContext
Namespace: EPiServer.Events.ChangeNotification
Assembly: EPiServer.Events.dll
Version: 8.11.0Syntax
public interface IRecoveryContext
Properties
CancellationToken
Gets the token that may be used to request cancellation of the recovery process.
Declaration
CancellationToken CancellationToken { get; }
Property Value
Type | Description |
---|---|
System.Threading.CancellationToken |
Methods
SetActivity()
Indicates activity of a recovery operation when the overall operation size is not known.
Declaration
void SetActivity()
SetProgress(Int32, Int32)
Updates the progress of a recovery operation.
Declaration
void SetProgress(int processedCount, int totalCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | processedCount | A count representing the progress of the operation. |
System.Int32 | totalCount | A count representing the value that the processed count will become when the operation is complete. |