Class ProgressNotificationArgs

ProgressNotificationArgs class

Provides data for the Notify method.

public sealed class ProgressNotificationArgs : EventArgs

Properties

NameDescription
CurrentStepName { get; }Gets the name of the current step (part of the operation) being executed.
CurrentStepProgress { get; }Gets the estimated progress percentage completed for the current step (part of the operation) (0-100).
EstimatedTotalProgress { get; }Gets the estimated total progress of the entire operation (0-100).

Remarks

This class contains progress information about the operation.

Examples

Shows how to use progress notification callback when loading a project.

var loadOptions = new LoadOptions
{
    // Set the callback to receive progress updates
    ProjectLoadingCallback = new ProgressNotificationCallbackImplementation()
};

// Load the project with progress notification
var project = new Project(DataDir + "Project.mpp", loadOptions);

Console.WriteLine("Project loaded successfully.");

See Also