IProblemDetailsWriter.WriteAsync(ProblemDetailsContext) 方法

定义

编写 ProblemDetails 对当前上下文的响应

public System.Threading.Tasks.ValueTask WriteAsync (Microsoft.AspNetCore.Http.ProblemDetailsContext context);
abstract member WriteAsync : Microsoft.AspNetCore.Http.ProblemDetailsContext -> System.Threading.Tasks.ValueTask
Public Function WriteAsync (context As ProblemDetailsContext) As ValueTask

参数

context
ProblemDetailsContext

ProblemDetailsContext 当前请求/响应关联的 。

返回

适用于