Class ProgressNotificationValue | MCP C# SDK

Namespace
ModelContextProtocol
Assembly
ModelContextProtocol.Core.dll

Provides a progress value that can be sent using IProgress<T>.

public sealed class ProgressNotificationValue
Inheritance

ProgressNotificationValue

Inherited Members

Properties

Message

Gets or initializes an optional message describing the current progress.

public string? Message { get; init; }

Property Value

string

Progress

Gets or initializes the progress thus far.

public required float Progress { get; init; }

Property Value

float

Total

Gets or initializes the total number of items to process (or total progress required), if known.

public float? Total { get; init; }

Property Value

float?