This topic has not yet been rated - Rate this topic

DataServiceConfiguration::UseVerboseErrors Property

Gets or sets whether verbose errors should be returned by the data service.

Namespace:  System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)
public:
virtual property bool UseVerboseErrors {
	bool get () sealed;
	void set (bool value) sealed;
}

Property Value

Type: System::Boolean
Whether verbose errors are returned.

Implements

IDataServiceConfiguration::UseVerboseErrors

The 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,

.NET Framework

Supported in: 4

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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.