Sprache

BrowserOptionsHttpContextExtensions.GetBrowserOptions(HttpContext) Methode

Definition

Ruft die BrowserOptions für die aktuelle Anforderung ab. Falls noch nicht festgelegt, werden Samen aus Endpunktmetadaten oder eine neue Instanz erstellt.

public static Microsoft.AspNetCore.Components.BrowserOptions GetBrowserOptions(this Microsoft.AspNetCore.Http.HttpContext context);
static member GetBrowserOptions : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Components.BrowserOptions
<Extension()>
Public Function GetBrowserOptions (context As HttpContext) As BrowserOptions

Parameter

context
HttpContext

Die HttpContext.

Gibt zurück

Die BrowserOptions für die aktuelle Anforderung.

Gilt für: