csharp-sdk/src/ModelContextProtocol.Core/Client/ResumeClientSessionOptions.cs
Copilot 3cc4863fc1
Fix XML documentation spelling, grammar, and correctness issues across SDK (#1372)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
2026-02-23 23:56:22 -05:00

29 lines
1,013 B
C#

using ModelContextProtocol.Protocol;
namespace ModelContextProtocol.Client;
/// <summary>
/// Provides the metadata captured from a previous MCP client session that is required to resume it.
/// </summary>
public sealed class ResumeClientSessionOptions
{
/// <summary>
/// Gets or sets the server capabilities that were negotiated during the original session initialization.
/// </summary>
public required ServerCapabilities ServerCapabilities { get; set; }
/// <summary>
/// Gets or sets the server implementation metadata that identifies the connected MCP server.
/// </summary>
public required Implementation ServerInfo { get; set; }
/// <summary>
/// Gets or sets any instructions previously supplied by the server.
/// </summary>
public string? ServerInstructions { get; set; }
/// <summary>
/// Gets or sets the protocol version that was negotiated with the server.
/// </summary>
public string? NegotiatedProtocolVersion { get; set; }
}