Dela via


IProblemDetailsService Interface

Definition

Defines a type that provide functionality to create a ProblemDetails response.

public interface IProblemDetailsService
type IProblemDetailsService = interface
Public Interface IProblemDetailsService

Methods

TryWriteAsync(ProblemDetailsContext)

Try to write a ProblemDetails response to the current context, using the registered IProblemDetailsWriter services.

WriteAsync(ProblemDetailsContext)

Write a ProblemDetails response to the current context, using the registered IProblemDetailsWriter services.

Applies to