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 | |
---|---|---|
![]() |
AtomFeedActionResult(SyndicationFeed) | Initializes a new instance of the AtomFeedActionResult class. The content type defaults to application/atom+xml. |
![]() |
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
feed
Type: System.ServiceModel.Syndication.SyndicationFeedThe top-level feed object.
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
feed
Type: System.ServiceModel.Syndication.SyndicationFeedThe top-level feed object.
contentType
Type: System.Net.Mime.ContentTypeThe content type.
Return to top