Share via


AtomServiceDocumentActionResult Class

 

Represents an ActionResult that can render a ServiceDocument to the Atom 1.0 ServiceDocument format.

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

Inheritance Hierarchy

System.Object
  System.Web.Mvc.ActionResult
    Microsoft.Web.Mvc.Resources.AtomServiceDocumentActionResult

Syntax

public class AtomServiceDocumentActionResult : ActionResult
public ref class AtomServiceDocumentActionResult : ActionResult
type AtomServiceDocumentActionResult = 
    class
        inherit ActionResult
    end
Public Class AtomServiceDocumentActionResult
    Inherits ActionResult

Constructors

Name Description
System_CAPS_pubmethod AtomServiceDocumentActionResult(ServiceDocument)

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

System_CAPS_pubmethod AtomServiceDocumentActionResult(ServiceDocument, ContentType)

Initializes a new instance of the AtomServiceDocumentActionResult class.

Properties

Name Description
System_CAPS_pubproperty ContentType

Gets the context-type header.

System_CAPS_pubproperty Document

Gets the service document.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod ExecuteResult(ControllerContext)

Enables processing of the result of an action method by a custom type that inherits from the ActionResult class.(Overrides ActionResult.ExecuteResult(ControllerContext).)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

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

See Also

Microsoft.Web.Mvc.Resources Namespace

Return to top