Export (0) Print
Expand All

IDataServiceConfiguration.UseVerboseErrors Property

Gets or sets whether verbose errors are used by default for all responses from the data service.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

bool UseVerboseErrors { get; set; }

Property Value

Type: System.Boolean
A Boolean value that indicates whether verbose errors are returned.

The response from a specified request can be overridden by the data service developer by overriding the HandleException method. Verbose errors should only be enabled during development, not in production environments, for security reasons.

Show:
© 2014 Microsoft