ControllerBase.AcceptedAtRoute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AcceptedAtRoute(String, Object, Object) |
Creates an AcceptedAtRouteResult object that produces a Status202Accepted response. |
AcceptedAtRoute(String, Object) |
Creates an AcceptedAtRouteResult object that produces a Status202Accepted response. |
AcceptedAtRoute(Object) |
Creates an AcceptedAtRouteResult object that produces a Status202Accepted response. |
AcceptedAtRoute(String) |
Creates an AcceptedAtRouteResult object that produces a Status202Accepted response. |
AcceptedAtRoute(Object, Object) |
Creates an AcceptedAtRouteResult object that produces a Status202Accepted response. |
AcceptedAtRoute(String, Object, Object)
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
Creates an AcceptedAtRouteResult object that produces a Status202Accepted response.
public:
virtual Microsoft::AspNetCore::Mvc::AcceptedAtRouteResult ^ AcceptedAtRoute(System::String ^ routeName, System::Object ^ routeValues, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (string routeName, object routeValues, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (string? routeName, object? routeValues, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtRoute : string * obj * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
override this.AcceptedAtRoute : string * obj * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
Public Overridable Function AcceptedAtRoute (routeName As String, routeValues As Object, value As Object) As AcceptedAtRouteResult
Parameters
- routeName
- String
The name of the route to use for generating the URL.
- routeValues
- Object
The route data to use for generating the URL.
- value
- Object
The optional content value to format in the entity body; may be null.
Returns
The created AcceptedAtRouteResult for the response.
- Attributes
Applies to
AcceptedAtRoute(String, Object)
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
Creates an AcceptedAtRouteResult object that produces a Status202Accepted response.
public:
virtual Microsoft::AspNetCore::Mvc::AcceptedAtRouteResult ^ AcceptedAtRoute(System::String ^ routeName, System::Object ^ routeValues);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (string routeName, object routeValues);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (string? routeName, object? routeValues);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtRoute : string * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
override this.AcceptedAtRoute : string * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
Public Overridable Function AcceptedAtRoute (routeName As String, routeValues As Object) As AcceptedAtRouteResult
Parameters
- routeName
- String
The name of the route to use for generating the URL.
- routeValues
- Object
The route data to use for generating the URL.
Returns
The created AcceptedAtRouteResult for the response.
- Attributes
Applies to
AcceptedAtRoute(Object)
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
Creates an AcceptedAtRouteResult object that produces a Status202Accepted response.
public:
virtual Microsoft::AspNetCore::Mvc::AcceptedAtRouteResult ^ AcceptedAtRoute(System::Object ^ routeValues);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (object routeValues);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (object? routeValues);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtRoute : obj -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
override this.AcceptedAtRoute : obj -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
Public Overridable Function AcceptedAtRoute (routeValues As Object) As AcceptedAtRouteResult
Parameters
- routeValues
- Object
The route data to use for generating the URL.
Returns
The created AcceptedAtRouteResult for the response.
- Attributes
Applies to
AcceptedAtRoute(String)
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
Creates an AcceptedAtRouteResult object that produces a Status202Accepted response.
public:
virtual Microsoft::AspNetCore::Mvc::AcceptedAtRouteResult ^ AcceptedAtRoute(System::String ^ routeName);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (string routeName);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (string? routeName);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtRoute : string -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
override this.AcceptedAtRoute : string -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
Public Overridable Function AcceptedAtRoute (routeName As String) As AcceptedAtRouteResult
Parameters
- routeName
- String
The name of the route to use for generating the URL.
Returns
The created AcceptedAtRouteResult for the response.
- Attributes
Applies to
AcceptedAtRoute(Object, Object)
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
Creates an AcceptedAtRouteResult object that produces a Status202Accepted response.
public:
virtual Microsoft::AspNetCore::Mvc::AcceptedAtRouteResult ^ AcceptedAtRoute(System::Object ^ routeValues, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (object routeValues, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (object? routeValues, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtRoute : obj * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
override this.AcceptedAtRoute : obj * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
Public Overridable Function AcceptedAtRoute (routeValues As Object, value As Object) As AcceptedAtRouteResult
Parameters
- routeValues
- Object
The route data to use for generating the URL.
- value
- Object
The optional content value to format in the entity body; may be null.
Returns
The created AcceptedAtRouteResult for the response.
- Attributes