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)

Syntax

public virtual bool IncludeErrorDetail {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    set;
}
public:
property bool IncludeErrorDetail {
    [CompilerGeneratedAttribute]
    virtual bool get();
    [CompilerGeneratedAttribute]
    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