File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/Middleware/Diagnostics/src/ExceptionHandler Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ public interface IExceptionHandler
13
13
{
14
14
/// <summary>
15
15
/// 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.
17
17
/// </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>
21
21
/// <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"/>.
25
25
/// </returns>
26
26
ValueTask < bool > TryHandleAsync ( HttpContext httpContext , Exception exception , CancellationToken cancellationToken ) ;
27
27
}
You can’t perform that action at this time.
0 commit comments