Share via


IProblemDetailsWriter.CanWrite(ProblemDetailsContext) Method

Definition

Determines whether this instance can write a ProblemDetails to the current context.

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

Parameters

context
ProblemDetailsContext

The ProblemDetailsContext associated with the current request/response.

Returns

Flag that indicates if that the writer can write to the current ProblemDetailsContext.

Applies to