Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:   System.Web.Http.OData.Results
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
| Name | Description | |
|---|---|---|
| .jpeg) | UpdatedODataResult<T>(T, ApiController) | Initializes a new instance of the UpdatedODataResult<T> class. | 
| .jpeg) | UpdatedODataResult<T>(T, IContentNegotiator, HttpRequestMessage, IEnumerable<MediaTypeFormatter>) | Initializes a new instance of the UpdatedODataResult<T> class. | 
See Also
UpdatedODataResult<T> Class
System.Web.Http.OData.Results Namespace
Return to top
UpdatedODataResult<T> Constructor (T, ApiController)
Initializes a new instance of the UpdatedODataResult<T> class.
Syntax
public UpdatedODataResult(
    T entity,
    ApiController controller
)
public:
UpdatedODataResult(
    T entity,
    ApiController^ controller
)
new : 
        entity:'T *
        controller:ApiController -> UpdatedODataResult
Public Sub New (
    entity As T,
    controller As ApiController
)
Parameters
- entity 
 Type: T- The updated entity. 
- controller 
 Type: System.Web.Http.ApiController- The controller from which to obtain the dependencies needed for execution. 
Return to top
UpdatedODataResult<T> Constructor (T, IContentNegotiator, HttpRequestMessage, IEnumerable<MediaTypeFormatter>)
Initializes a new instance of the UpdatedODataResult<T> class.
Syntax
public UpdatedODataResult(
    T entity,
    IContentNegotiator contentNegotiator,
    HttpRequestMessage request,
    IEnumerable<MediaTypeFormatter> formatters
)
public:
UpdatedODataResult(
    T entity,
    IContentNegotiator^ contentNegotiator,
    HttpRequestMessage^ request,
    IEnumerable<MediaTypeFormatter^>^ formatters
)
new : 
        entity:'T *
        contentNegotiator:IContentNegotiator *
        request:HttpRequestMessage *
        formatters:IEnumerable<MediaTypeFormatter> -> UpdatedODataResult
Public Sub New (
    entity As T,
    contentNegotiator As IContentNegotiator,
    request As HttpRequestMessage,
    formatters As IEnumerable(Of MediaTypeFormatter)
)
Parameters
- entity 
 Type: T- The updated entity. 
- contentNegotiator 
 Type: System.Net.Http.Formatting.IContentNegotiator- The content negotiator to handle content negotiation. 
- request 
 Type: System.Net.Http.HttpRequestMessage- The request message which led to this result. 
- formatters 
 Type: System.Collections.Generic.IEnumerable<MediaTypeFormatter>- The formatters to use to negotiate and format the content. 
Return to top