Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Property UseVerboseErrors As Boolean
Get
Set
'Usage
Dim instance As IDataServiceConfiguration
Dim value As Boolean
value = instance.UseVerboseErrors
instance.UseVerboseErrors = value
bool UseVerboseErrors { get; set; }
property bool UseVerboseErrors {
bool get ();
void set (bool value);
}
abstract UseVerboseErrors : bool with get, set
function get UseVerboseErrors () : boolean
function set UseVerboseErrors (value : boolean)
Property Value
Type: System.Boolean
A Boolean value that indicates whether verbose errors are returned.
Remarks
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.