使用英语阅读

通过


IProblemDetailsWriter.CanWrite(ProblemDetailsContext) 方法

定义

确定此实例是否可以将 写入 ProblemDetails 当前上下文。

public bool CanWrite (Microsoft.AspNetCore.Http.ProblemDetailsContext context);
abstract member CanWrite : Microsoft.AspNetCore.Http.ProblemDetailsContext -> bool
Public Function CanWrite (context As ProblemDetailsContext) As Boolean

参数

context
ProblemDetailsContext

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

返回

指示编写器是否可以写入当前 ProblemDetailsContext的标志。

适用于