Partager via


InvalidModelStateResult.IncludeErrorDetail Property

 

Gets a value indicating whether the error should include exception messages.

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

Syntax

public bool IncludeErrorDetail { get; }
public:
property bool IncludeErrorDetail {
    bool get();
}
member IncludeErrorDetail : bool with get
Public ReadOnly Property IncludeErrorDetail As Boolean

Property Value

Type: System.Boolean

true if the error should include exception messages; otherwise, false.

See Also

InvalidModelStateResult Class
System.Web.Http.Results Namespace

Return to top