HttpConfiguration.IncludeErrorDetailPolicy Property
Gets or sets a value indicating whether error details should be included in error messages.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Property IncludeErrorDetailPolicy As IncludeErrorDetailPolicy
Get
Set
'Usage
Dim instance As HttpConfiguration
Dim value As IncludeErrorDetailPolicy
value = instance.IncludeErrorDetailPolicy
instance.IncludeErrorDetailPolicy = value
public IncludeErrorDetailPolicy IncludeErrorDetailPolicy { get; set; }
public:
property IncludeErrorDetailPolicy IncludeErrorDetailPolicy {
IncludeErrorDetailPolicy get ();
void set (IncludeErrorDetailPolicy value);
}
member IncludeErrorDetailPolicy : IncludeErrorDetailPolicy with get, set
function get IncludeErrorDetailPolicy () : IncludeErrorDetailPolicy
function set IncludeErrorDetailPolicy (value : IncludeErrorDetailPolicy)
Property Value
Type: System.Web.Http.IncludeErrorDetailPolicy
The IncludeErrorDetailPolicy value that indicates that error detail policy.