ActionResult<TValue> Constructors
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
ActionResult<TValue>(ActionResult) |
Initializes a new instance of ActionResult<TValue> using the specified ActionResult. |
ActionResult<TValue>(TValue) |
Initializes a new instance of ActionResult<TValue> using the specified |
ActionResult<TValue>(ActionResult)
- Source:
- ActionResultOfT.cs
- Source:
- ActionResultOfT.cs
Initializes a new instance of ActionResult<TValue> using the specified ActionResult.
public:
ActionResult(Microsoft::AspNetCore::Mvc::ActionResult ^ result);
public ActionResult (Microsoft.AspNetCore.Mvc.ActionResult result);
new Microsoft.AspNetCore.Mvc.ActionResult<'Value> : Microsoft.AspNetCore.Mvc.ActionResult -> Microsoft.AspNetCore.Mvc.ActionResult<'Value>
Public Sub New (result As ActionResult)
Parameters
- result
- ActionResult
The ActionResult.
Applies to
ActionResult<TValue>(TValue)
- Source:
- ActionResultOfT.cs
- Source:
- ActionResultOfT.cs
Initializes a new instance of ActionResult<TValue> using the specified value
.
public:
ActionResult(TValue value);
public ActionResult (TValue value);
new Microsoft.AspNetCore.Mvc.ActionResult<'Value> : 'Value -> Microsoft.AspNetCore.Mvc.ActionResult<'Value>
Public Sub New (value As TValue)
Parameters
- value
- TValue
The value.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for