Share via


MultiFormatActionResult Constructor

 

Initializes a new instance of the MultiFormatActionResult class.

Namespace:   Microsoft.Web.Mvc.Resources
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Overload List

Name Description
System_CAPS_pubmethod MultiFormatActionResult(Object, ContentType)

Initializes a new instance of the MultiFormatActionResult class.

System_CAPS_pubmethod MultiFormatActionResult(Object, ContentType, HttpStatusCode)

Initializes a new instance of the MultiFormatActionResult class.

See Also

MultiFormatActionResult Class
Microsoft.Web.Mvc.Resources Namespace

Return to top

MultiFormatActionResult Constructor (Object, ContentType)

Initializes a new instance of the MultiFormatActionResult class.

Syntax

public MultiFormatActionResult(
    object model,
    ContentType responseFormat
)
public:
MultiFormatActionResult(
    Object^ model,
    ContentType^ responseFormat
)
new : 
        model:Object *
        responseFormat:ContentType -> MultiFormatActionResult
Public Sub New (
    model As Object,
    responseFormat As ContentType
)

Parameters

Return to top

MultiFormatActionResult Constructor (Object, ContentType, HttpStatusCode)

Initializes a new instance of the MultiFormatActionResult class.

Syntax

public MultiFormatActionResult(
    object model,
    ContentType responseFormat,
    HttpStatusCode statusCode
)
public:
MultiFormatActionResult(
    Object^ model,
    ContentType^ responseFormat,
    HttpStatusCode statusCode
)
new : 
        model:Object *
        responseFormat:ContentType *
        statusCode:HttpStatusCode -> MultiFormatActionResult
Public Sub New (
    model As Object,
    responseFormat As ContentType,
    statusCode As HttpStatusCode
)

Parameters

Return to top