ServiceAction Class

Represents a class that represents an action.

Inheritance Hierarchy

System.Object
  System.Data.Services.Providers.Operation
    System.Data.Services.Providers.ServiceAction

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Class ServiceAction _
    Inherits Operation
'Usage
Dim instance As ServiceAction
public class ServiceAction : Operation
public ref class ServiceAction : public Operation
type ServiceAction =  
    class 
        inherit Operation 
    end
public class ServiceAction extends Operation

The ServiceAction type exposes the following members.

Constructors

  Name Description
Public method ServiceAction(String, ResourceType, OperationParameterBindingKind, IEnumerable<ServiceActionParameter>, ResourceSetPathExpression) Initializes a new ServiceAction instance.
Public method ServiceAction(String, ResourceType, ResourceSet, OperationParameterBindingKind, IEnumerable<ServiceActionParameter>) Initializes a new ServiceAction instance.

Top

Properties

  Name Description
Public property BindingParameter Gets or sets the binding parameter to this action; null if this action is top-level.
Public property CustomState PlaceHolder to hold custom state information about service operation. (Inherited from Operation.)
Public property IsReadOnly Returns true, if this service operation has been set to read only. Otherwise returns false. (Inherited from Operation.)
Public property Method Protocol (for example HTTP) method the service operation responds to. (Inherited from Operation.)
Public property MimeType MIME type specified on primitive results, possibly null. (Inherited from Operation.)
Public property Name Name of the service operation. (Inherited from Operation.)
Public property Parameters Gets all the parameters for the given service action.
Public property ResourceSet Entity set from which entities are read (possibly null). (Inherited from Operation.)
Public property ResultSetPathExpression Gets or sets the path expression to calculate the result resource set of the function if the function returns an entity or a collection of entity.
Public property ReturnType Gets the return type of the action.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetReadOnly Set this service operation to readonly. (Inherited from Operation.)
Public method ToString (Inherited from Object.)

Top

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

Reference

System.Data.Services.Providers Namespace