DataServiceConfiguration.UseVerboseErrors Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether verbose errors should be returned by 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
Whether verbose errors are returned.
Implements
Remarks
The UseVerboseErrors property sets the default verbose error behavior for the whole service. Individual responses can behave differently depending on the value of the UseVerboseErrors property of the arguments to the HandleException method on the DataService<T> class.
For security reasons, verbose errors should only be enabled during development, not in production environments,
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om