HttpRequestContext.IncludeErrorDetail Property


Gets or sets a value indicating whether error details, such as exception messages and stack traces, should be included in the response for this request.

Namespace:   System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)


public virtual bool IncludeErrorDetail {
property bool IncludeErrorDetail {
    virtual bool get();
    virtual void set(bool value);
abstract IncludeErrorDetail : bool with get, set
override IncludeErrorDetail : bool with get, set
Public Overridable Property IncludeErrorDetail As Boolean

Property Value

Type: System.Boolean

Returns Boolean.

See Also

HttpRequestContext Class
System.Web.Http.Controllers Namespace

Return to top