Condividi tramite


EndpointHttpContextExtensions.SetEndpoint(HttpContext, Endpoint) Metodo

Definizione

Metodo di estensione per impostare l'oggetto Endpoint per la richiesta corrente.

public:
[System::Runtime::CompilerServices::Extension]
 static void SetEndpoint(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Http::Endpoint ^ endpoint);
public static void SetEndpoint (this Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.Endpoint endpoint);
public static void SetEndpoint (this Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Http.Endpoint? endpoint);
static member SetEndpoint : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Http.Endpoint -> unit
<Extension()>
Public Sub SetEndpoint (context As HttpContext, endpoint As Endpoint)

Parametri

context
HttpContext

Contesto HttpContext .

endpoint
Endpoint

Oggetto Endpoint.

Si applica a