Share via


UrlHelper(ActionContext) Konstruktor

Definition

Initialisiert eine neue Instanz der UrlHelper-Klasse mit dem angegebenen actionContext.

public:
 UrlHelper(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext);
public UrlHelper (Microsoft.AspNetCore.Mvc.ActionContext actionContext);
new Microsoft.AspNetCore.Mvc.Routing.UrlHelper : Microsoft.AspNetCore.Mvc.ActionContext -> Microsoft.AspNetCore.Mvc.Routing.UrlHelper
Public Sub New (actionContext As ActionContext)

Parameter

actionContext
ActionContext

Das ActionContext für die aktuelle Anforderung.

Gilt für: