DataServiceConfiguration::UseVerboseErrors Property
.NET Framework 4
Gets or sets whether verbose errors should be returned by the data service.
Assembly: System.Data.Services (in System.Data.Services.dll)
public: virtual property bool UseVerboseErrors { bool get () sealed; void set (bool value) sealed; }
Implements
IDataServiceConfiguration::UseVerboseErrorsThe UseVerboseErrors property sets the default verbose error behavior for the whole service. Individual responses can behave differently depending on the value of the UseVerboseErrors property of the arguments to the HandleException method on the DataService<T> class.
For security reasons, verbose errors should only be enabled during development, not in production environments,
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.