ApiBehaviorOptions.SuppressModelStateInvalidFilter ApiBehaviorOptions.SuppressModelStateInvalidFilter ApiBehaviorOptions.SuppressModelStateInvalidFilter Property

Definition

Gets or sets a value that determines if the filter that returns an BadRequestObjectResult when ModelState is invalid is suppressed. .

public bool SuppressModelStateInvalidFilter { get; set; }
member this.SuppressModelStateInvalidFilter : bool with get, set
Public Property SuppressModelStateInvalidFilter As Boolean

Property Value

Applies to