CreatedNegotiatedContentResult<T> Class

 

Represents an action result that performs content negotiation and returns a Created response when it succeeds.

Namespace:   System.Web.Http.Results
Assembly:  System.Web.Http (in System.Web.Http.dll)

System::Object
  System.Web.Http.Results::CreatedNegotiatedContentResult<T>

generic<typename T>
public ref class CreatedNegotiatedContentResult : IHttpActionResult

Type Parameters

T

The type of content in the entity body.

NameDescription
System_CAPS_pubmethodCreatedNegotiatedContentResult<T>(Uri^, T, ApiController^)

Initializes a new instance of the CreatedNegotiatedContentResult<T> class with the values provided.

System_CAPS_pubmethodCreatedNegotiatedContentResult<T>(Uri^, T, IContentNegotiator^, HttpRequestMessage^, IEnumerable<MediaTypeFormatter^>^)

Initializes a new instance of the OkNegotiatedContentResult<T> class with the values provided.

NameDescription
System_CAPS_pubpropertyContent

Gets the content value to negotiate and format in the entity body.

System_CAPS_pubpropertyContentNegotiator

Gets the content negotiator to handle content negotiation.

System_CAPS_pubpropertyFormatters

Gets the formatters to use to negotiate and format the content.

System_CAPS_pubpropertyLocation

Gets the location at which the content has been created.

System_CAPS_pubpropertyRequest

Gets the request message which led to this result.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodExecuteAsync(CancellationToken)

Executes asynchronously the operation of the created negotiated content result.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: