ControllerBase.AcceptedAtAction Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
AcceptedAtAction(String) |
Erstellt ein AcceptedAtActionResult -Objekt, das eine Status202Accepted Antwort erzeugt. |
AcceptedAtAction(String, Object) |
Erstellt ein AcceptedAtActionResult -Objekt, das eine Status202Accepted Antwort erzeugt. |
AcceptedAtAction(String, String) |
Erstellt ein AcceptedAtActionResult -Objekt, das eine Status202Accepted Antwort erzeugt. |
AcceptedAtAction(String, Object, Object) |
Erstellt ein AcceptedAtActionResult -Objekt, das eine Status202Accepted Antwort erzeugt. |
AcceptedAtAction(String, String, Object) |
Erstellt ein AcceptedAtActionResult -Objekt, das eine Status202Accepted Antwort erzeugt. |
AcceptedAtAction(String, String, Object, Object) |
Erstellt ein AcceptedAtActionResult -Objekt, das eine Status202Accepted Antwort erzeugt. |
AcceptedAtAction(String)
Erstellt ein AcceptedAtActionResult -Objekt, das eine Status202Accepted Antwort erzeugt.
public:
virtual Microsoft::AspNetCore::Mvc::AcceptedAtActionResult ^ AcceptedAtAction(System::String ^ actionName);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string? actionName);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtAction : string -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
override this.AcceptedAtAction : string -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
Public Overridable Function AcceptedAtAction (actionName As String) As AcceptedAtActionResult
Parameter
- actionName
- String
Der Name der Aktion, die zum Generieren der URL verwendet werden soll.
Gibt zurück
Die für die Antwort erstellte AcceptedAtActionResult .
- Attribute
Gilt für:
AcceptedAtAction(String, Object)
Erstellt ein AcceptedAtActionResult -Objekt, das eine Status202Accepted Antwort erzeugt.
public:
virtual Microsoft::AspNetCore::Mvc::AcceptedAtActionResult ^ AcceptedAtAction(System::String ^ actionName, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string? actionName, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtAction : string * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
override this.AcceptedAtAction : string * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
Public Overridable Function AcceptedAtAction (actionName As String, value As Object) As AcceptedAtActionResult
Parameter
- actionName
- String
Der Name der Aktion, die zum Generieren der URL verwendet werden soll.
- value
- Object
Der optionale Inhaltswert, der im Entitätstext formatiert werden soll; kann NULL sein.
Gibt zurück
Die für die Antwort erstellte AcceptedAtActionResult .
- Attribute
Gilt für:
AcceptedAtAction(String, String)
Erstellt ein AcceptedAtActionResult -Objekt, das eine Status202Accepted Antwort erzeugt.
public:
virtual Microsoft::AspNetCore::Mvc::AcceptedAtActionResult ^ AcceptedAtAction(System::String ^ actionName, System::String ^ controllerName);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName, string controllerName);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string? actionName, string? controllerName);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtAction : string * string -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
override this.AcceptedAtAction : string * string -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
Public Overridable Function AcceptedAtAction (actionName As String, controllerName As String) As AcceptedAtActionResult
Parameter
- actionName
- String
Der Name der Aktion, die zum Generieren der URL verwendet werden soll.
- controllerName
- String
Der Name des Controllers, der zum Generieren der URL verwendet werden soll.
Gibt zurück
Die für die Antwort erstellte AcceptedAtActionResult .
- Attribute
Gilt für:
AcceptedAtAction(String, Object, Object)
Erstellt ein AcceptedAtActionResult -Objekt, das eine Status202Accepted Antwort erzeugt.
public:
virtual Microsoft::AspNetCore::Mvc::AcceptedAtActionResult ^ AcceptedAtAction(System::String ^ actionName, System::Object ^ routeValues, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName, object routeValues, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string? actionName, object? routeValues, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtAction : string * obj * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
override this.AcceptedAtAction : string * obj * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
Public Overridable Function AcceptedAtAction (actionName As String, routeValues As Object, value As Object) As AcceptedAtActionResult
Parameter
- actionName
- String
Der Name der Aktion, die zum Generieren der URL verwendet werden soll.
- routeValues
- Object
Die Routendaten, die zum Generieren der URL verwendet werden sollen.
- value
- Object
Der optionale Inhaltswert, der im Entitätstext formatiert werden soll; kann NULL sein.
Gibt zurück
Die für die Antwort erstellte AcceptedAtActionResult .
- Attribute
Gilt für:
AcceptedAtAction(String, String, Object)
Erstellt ein AcceptedAtActionResult -Objekt, das eine Status202Accepted Antwort erzeugt.
public:
virtual Microsoft::AspNetCore::Mvc::AcceptedAtActionResult ^ AcceptedAtAction(System::String ^ actionName, System::String ^ controllerName, System::Object ^ routeValues);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName, string controllerName, object routeValues);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string? actionName, string? controllerName, object? routeValues);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtAction : string * string * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
override this.AcceptedAtAction : string * string * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
Public Overridable Function AcceptedAtAction (actionName As String, controllerName As String, routeValues As Object) As AcceptedAtActionResult
Parameter
- actionName
- String
Der Name der Aktion, die zum Generieren der URL verwendet werden soll.
- controllerName
- String
Der Name des Controllers, der zum Generieren der URL verwendet werden soll.
- routeValues
- Object
Die Routendaten, die zum Generieren der URL verwendet werden sollen.
Gibt zurück
Die für die Antwort erstellte AcceptedAtActionResult .
- Attribute
Gilt für:
AcceptedAtAction(String, String, Object, Object)
Erstellt ein AcceptedAtActionResult -Objekt, das eine Status202Accepted Antwort erzeugt.
public:
virtual Microsoft::AspNetCore::Mvc::AcceptedAtActionResult ^ AcceptedAtAction(System::String ^ actionName, System::String ^ controllerName, System::Object ^ routeValues, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName, string controllerName, object routeValues, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string? actionName, string? controllerName, object? routeValues, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtAction : string * string * obj * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
override this.AcceptedAtAction : string * string * obj * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
Public Overridable Function AcceptedAtAction (actionName As String, controllerName As String, routeValues As Object, value As Object) As AcceptedAtActionResult
Parameter
- actionName
- String
Der Name der Aktion, die zum Generieren der URL verwendet werden soll.
- controllerName
- String
Der Name des Controllers, der zum Generieren der URL verwendet werden soll.
- routeValues
- Object
Die Routendaten, die zum Generieren der URL verwendet werden sollen.
- value
- Object
Der optionale Inhaltswert, der im Entitätstext formatiert werden soll; kann NULL sein.
Gibt zurück
Die für die Antwort erstellte AcceptedAtActionResult .
- Attribute
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für