From 4c047027e28b91aba8026c24a4d7ae0e48f3d30e Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Tue, 27 Jun 2023 06:26:17 +0800 Subject: [PATCH 1/3] Update IExceptionHandler.cs --- .../Diagnostics/src/ExceptionHandler/IExceptionHandler.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs b/src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs index d5d35e215b53..6af109bb0c7c 100644 --- a/src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs +++ b/src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs @@ -13,11 +13,11 @@ public interface IExceptionHandler { /// /// Tries to handle the specified exception asynchronously within the ASP.NET Core pipeline. - /// Implementations of this method can provide custom exception handling logic for different scenarios. + /// Implementations of this method can provide custom exception-handling logic for different scenarios. /// - /// - /// - /// + /// The for the request. + /// The unhandled exception. + /// The cancellation token. /// /// A representing the asynchronous handling operation indicating /// if the exception was From 9e347db5df61f9babce6ff69ad00d385167ea9ba Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Tue, 27 Jun 2023 06:48:43 +0800 Subject: [PATCH 2/3] Update IExceptionHandler.cs --- .../Diagnostics/src/ExceptionHandler/IExceptionHandler.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs b/src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs index 6af109bb0c7c..b9f013597bea 100644 --- a/src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs +++ b/src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs @@ -19,9 +19,9 @@ public interface IExceptionHandler /// The unhandled exception. /// The cancellation token. /// - /// A representing the asynchronous handling operation indicating - /// if the exception was - /// handled successfully; otherwise . + /// A task that represents the asynchronous read operation. The value of its + /// property contains a flag indicating the handling operation. + /// if the exception was handled successfully; otherwise . /// ValueTask TryHandleAsync(HttpContext httpContext, Exception exception, CancellationToken cancellationToken); } From a2818d351c2554d5ca09f68443e7e71400f38086 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Tue, 27 Jun 2023 07:09:10 +0800 Subject: [PATCH 3/3] Update IExceptionHandler.cs --- .../Diagnostics/src/ExceptionHandler/IExceptionHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs b/src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs index b9f013597bea..48389cd5c549 100644 --- a/src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs +++ b/src/Middleware/Diagnostics/src/ExceptionHandler/IExceptionHandler.cs @@ -20,7 +20,7 @@ public interface IExceptionHandler /// The cancellation token. /// /// A task that represents the asynchronous read operation. The value of its - /// property contains a flag indicating the handling operation. + /// property contains the result of the handling operation. /// if the exception was handled successfully; otherwise . /// ValueTask TryHandleAsync(HttpContext httpContext, Exception exception, CancellationToken cancellationToken);