ProblemDetailsFactory Sınıf

Tanım

Ve oluşturmak için ProblemDetails fabrika ValidationProblemDetails .

public ref class ProblemDetailsFactory abstract
public abstract class ProblemDetailsFactory
type ProblemDetailsFactory = class
Public MustInherit Class ProblemDetailsFactory
Devralma
ProblemDetailsFactory

Oluşturucular

ProblemDetailsFactory()

Yöntemler

CreateProblemDetails(HttpContext, Nullable<Int32>, String, String, String, String)

ProblemDetails' De belirtilen değerlere göre varsayılan değerleri yapılandıran bir örnek oluşturur ApiBehaviorOptions .

CreateValidationProblemDetails(HttpContext, ModelStateDictionary, Nullable<Int32>, String, String, String, String)

ValidationProblemDetails' De belirtilen değerlere göre varsayılan değerleri yapılandıran bir örnek oluşturur ApiBehaviorOptions .

Şunlara uygulanır