Export (0) Print
Expand All

DataServiceConfiguration.UseVerboseErrors Property

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

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

public bool UseVerboseErrors { get; set; }

Property Value

Type: System.Boolean
True if the verbose errors should be returned by the data service; otherwise, false.

Implements

IDataServiceConfiguration.UseVerboseErrors

This property sets the default for the whole service; individual responses may behave differently depending on the value of the VerboseResponse property of the arguments to the HandleException method on the DataService<T> class.

Show:
© 2014 Microsoft