Export (0) Print
Expand All

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)

'Declaration
Public Property UseVerboseErrors As Boolean

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(Of 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.

Community Additions

ADD
Show:
© 2014 Microsoft