Edit

Kongsi melalui


IDataServiceConfiguration.UseVerboseErrors Property

Definition

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

public:
 property bool UseVerboseErrors { bool get(); void set(bool value); };
public bool UseVerboseErrors { get; set; }
member this.UseVerboseErrors : bool with get, set
Public Property UseVerboseErrors As Boolean

Property Value

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.

Applies to