AtomFeedActionResult Constructor

 

Initializes a new instance of the AtomFeedActionResult class.

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

Overload List

Name Description
System_CAPS_pubmethod AtomFeedActionResult(SyndicationFeed)

Initializes a new instance of the AtomFeedActionResult class. The content type defaults to application/atom+xml.

System_CAPS_pubmethod AtomFeedActionResult(SyndicationFeed, ContentType)

Initializes a new instance of the AtomFeedActionResult class.

See Also

AtomFeedActionResult Class
Microsoft.Web.Mvc.Resources Namespace

Return to top

AtomFeedActionResult Constructor (SyndicationFeed)

Initializes a new instance of the AtomFeedActionResult class. The content type defaults to application/atom+xml.

Syntax

public AtomFeedActionResult(
    SyndicationFeed feed
)
public:
AtomFeedActionResult(
    SyndicationFeed^ feed
)
new : 
        feed:SyndicationFeed -> AtomFeedActionResult
Public Sub New (
    feed As SyndicationFeed
)

Parameters

Return to top

AtomFeedActionResult Constructor (SyndicationFeed, ContentType)

Initializes a new instance of the AtomFeedActionResult class.

Syntax

public AtomFeedActionResult(
    SyndicationFeed feed,
    ContentType contentType
)
public:
AtomFeedActionResult(
    SyndicationFeed^ feed,
    ContentType^ contentType
)
new : 
        feed:SyndicationFeed *
        contentType:ContentType -> AtomFeedActionResult
Public Sub New (
    feed As SyndicationFeed,
    contentType As ContentType
)

Parameters

Return to top