EndpointHttpContextExtensions.SetEndpoint(HttpContext, Endpoint) Méthode

Définition

Méthode d’extension pour définir le Endpoint pour la requête actuelle.

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)

Paramètres

context
HttpContext

Contexte HttpContext .

endpoint
Endpoint

L’Endpointopérateur

S’applique à