Skip to content

Commit d92a95f

Browse files
authored
Update IExceptionHandler.cs (#49040)
1 parent 3527909 commit d92a95f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ public interface IExceptionHandler
1313
{
1414
/// <summary>
1515
/// Tries to handle the specified exception asynchronously within the ASP.NET Core pipeline.
16-
/// Implementations of this method can provide custom exception handling logic for different scenarios.
16+
/// Implementations of this method can provide custom exception-handling logic for different scenarios.
1717
/// </summary>
18-
/// <param name="httpContext"></param>
19-
/// <param name="exception"></param>
20-
/// <param name="cancellationToken"></param>
18+
/// <param name="httpContext">The <see cref="HttpContext"/> for the request.</param>
19+
/// <param name="exception">The unhandled exception.</param>
20+
/// <param name="cancellationToken">The cancellation token.</param>
2121
/// <returns>
22-
/// A <see cref="ValueTask{TResult}"/> representing the asynchronous handling operation indicating
23-
/// <see langword="true"/> if the exception was
24-
/// handled successfully; otherwise <see langword="false"/>.
22+
/// A task that represents the asynchronous read operation. The value of its <see cref="P:System.Threading.Tasks.ValueTask`1.Result" />
23+
/// property contains the result of the handling operation.
24+
/// <see langword="true"/> if the exception was handled successfully; otherwise <see langword="false"/>.
2525
/// </returns>
2626
ValueTask<bool> TryHandleAsync(HttpContext httpContext, Exception exception, CancellationToken cancellationToken);
2727
}

0 commit comments

Comments
 (0)