MvcOptions.ReturnHttpNotAcceptable Özellik

Tanım

Yanıtı biçimlendirmek için bir biçimlendirici seçilmediyse, kabul edilebilir bir HTTP 406 yanıtının döndürülüp döndürülmeyeceğini belirleyen bayrağı alır veya ayarlar. false Varsayılan olarak.

public:
 property bool ReturnHttpNotAcceptable { bool get(); void set(bool value); };
public bool ReturnHttpNotAcceptable { get; set; }
member this.ReturnHttpNotAcceptable : bool with get, set
Public Property ReturnHttpNotAcceptable As Boolean

Özellik Değeri

Boolean

Şunlara uygulanır