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 | |
---|---|---|
ServiceAction(String, ResourceType, OperationParameterBindingKind, IEnumerable<ServiceActionParameter>, ResourceSetPathExpression) | Initializes a new ServiceAction instance. | |
ServiceAction(String, ResourceType, ResourceSet, OperationParameterBindingKind, IEnumerable<ServiceActionParameter>) | Initializes a new ServiceAction instance. |
Top
Properties
Name | Description | |
---|---|---|
BindingParameter | Gets or sets the binding parameter to this action; null if this action is top-level. | |
CustomState | PlaceHolder to hold custom state information about service operation. (Inherited from Operation.) | |
IsReadOnly | Returns true, if this service operation has been set to read only. Otherwise returns false. (Inherited from Operation.) | |
Method | Protocol (for example HTTP) method the service operation responds to. (Inherited from Operation.) | |
MimeType | MIME type specified on primitive results, possibly null. (Inherited from Operation.) | |
Name | Name of the service operation. (Inherited from Operation.) | |
Parameters | Gets all the parameters for the given service action. | |
ResourceSet | Entity set from which entities are read (possibly null). (Inherited from Operation.) | |
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. | |
ReturnType | Gets the return type of the action. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SetReadOnly | Set this service operation to readonly. (Inherited from Operation.) | |
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.