IProblemDetailsWriter.CanWrite(ProblemDetailsContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.