<PackageReference Include="Relativity.API" Version="17.0.4" />

IMassOperation

public interface IMassOperation
An operation that will execute over a number of objects providing status

Holds the exception, if any, that was thrown by executing the Mass Operation

bool IsCanceled { get; set; }

Controls if the Mass Operation is flagged to be canceled.

TimeStamp of the last time the Mass Operation reported

bool ManageOperationCount { get; set; }

Determines if the Mass Operation events the count of operations as they complete

string Name { get; }

Name of the Mass Operation

int OperationsCompleted { get; }

Number of operations completed

Number of operations completed over total number of operations

Guid ProcessID { get; }

Unique Identifier for the Mass Operation instance

State of the Mass Operation

string Status { get; }

Status message of the Mass Operation

int TotalOperations { get; }

Total number of operations that the Mass Operation will perform

Event To listen for when Records are Processed

void Execute()

Execute the Mass Operation