共用方式為


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 目前要求/回應相關聯的 。

傳回

適用於