Delen via


StatusCodePagesOptions.CreateScopeForStatusCodePages Property

Definition

Gets or sets whether the handler needs to create a separate IServiceProvider scope and replace it on RequestServices when re-executing the request.

public bool CreateScopeForStatusCodePages { get; set; }
member this.CreateScopeForStatusCodePages : bool with get, set
Public Property CreateScopeForStatusCodePages As Boolean

Property Value

Remarks

The default value is false.

Applies to