Skip to content

Commit 7fbb31a

Browse files
Copilotstephentoub
andcommitted
Add missing McpException documentation to McpClient.GetTaskResultAsync
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
1 parent c38e25f commit 7fbb31a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ModelContextProtocol.Core/Client/McpClient.Methods.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,7 @@ public async ValueTask<McpTask> GetTaskAsync(
10731073
/// <returns>The raw JSON result of the task.</returns>
10741074
/// <exception cref="ArgumentNullException"><paramref name="taskId"/> is <see langword="null"/>.</exception>
10751075
/// <exception cref="ArgumentException"><paramref name="taskId"/> is empty or composed entirely of whitespace.</exception>
1076+
/// <exception cref="McpException">The request failed or the server returned an error response.</exception>
10761077
/// <remarks>
10771078
/// This method sends a tasks/result request to the server, which will block until the task completes if it hasn't already.
10781079
/// The server handles all polling logic internally.

0 commit comments

Comments
 (0)