File: Publishing\CompletionState.cs
Web Access
Project: src\src\Aspire.Hosting\Aspire.Hosting.csproj (Aspire.Hosting)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Diagnostics.CodeAnalysis;
 
namespace Aspire.Hosting.Publishing;
 
/// <summary>
/// Represents the completion state of a publishing activity (task, step, or top-level operation).
/// </summary>
[Experimental("ASPIREPUBLISHERS001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
public enum CompletionState
{
    /// <summary>
    /// The task is in progress.
    /// </summary>
    InProgress,
 
    /// <summary>
    /// The task completed successfully.
    /// </summary>
    Completed,
 
    /// <summary>
    /// The task completed with warnings.
    /// </summary>
    CompletedWithWarning,
 
    /// <summary>
    /// The task completed with an error.
    /// </summary>
    CompletedWithError
}