ExceptionHandlerOptions.CreateScopeForErrors 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 the handler needs to create a separate IServiceProvider scope and replace it on RequestServices when re-executing the request to handle an error.
public bool CreateScopeForErrors { get; set; }
	member this.CreateScopeForErrors : bool with get, set
	Public Property CreateScopeForErrors As Boolean
	Property Value
Remarks
The default value is false.