Share via


HandleExceptionArgs.UseVerboseErrors Property

Gets or sets a Boolean value that indicates whether verbose errors will be returned.

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

Syntax

'Declaration
Public Property UseVerboseErrors As Boolean 
    Get 
    Set
'Usage
Dim instance As HandleExceptionArgs 
Dim value As Boolean 

value = instance.UseVerboseErrors

instance.UseVerboseErrors = value
public bool UseVerboseErrors { get; set; }
public:
property bool UseVerboseErrors {
    bool get ();
    void set (bool value);
}
member UseVerboseErrors : bool with get, set
function get UseVerboseErrors () : boolean 
function set UseVerboseErrors (value : boolean)

Property Value

Type: System.Boolean
The Boolean value that indicates whether verbose errors will be returned.

Remarks

When UseVerboseErrors is set to true, all exception details will be returned in the response. Security Note: Setting this value to true may disclose information that should be private to the service.

See Also

Reference

HandleExceptionArgs Class

System.Data.Services Namespace