IProgressNotificationCallback.Notify
IProgressNotificationCallback.Notify method
Called during project long-running operations to provide progress information.
public void Notify(ProgressNotificationArgs args)
| Parameter | Type | Description |
|---|---|---|
| args | ProgressNotificationArgs | A ProgressNotificationArgs object containing progress information for the current 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
- class ProgressNotificationArgs
- interface IProgressNotificationCallback
- namespace Aspose.Tasks
- assembly Aspose.Tasks