ServiceOperation Class

Represents a custom service operation.


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

public class ServiceOperation : Operation

The ServiceOperation type exposes the following members.

Public methodServiceOperationCreates a new instance of the service operation.

Public propertyCustomState PlaceHolder to hold custom state information about service operation. (Inherited from Operation.)
Public propertyIsReadOnly Returns true, if this service operation has been set to read only. Otherwise returns false. (Inherited from Operation.)
Public propertyMethodProtocol (for example HTTP) method the service operation responds to. (Inherited from Operation.)
Public propertyMimeTypeMIME type specified on primitive results, possibly null. (Inherited from Operation.)
Public propertyNameName of the service operation. (Inherited from Operation.)
Public propertyParametersCollection of in-order parameters for the service operation.
Public propertyResourceSetEntity set from which entities are read (possibly null). (Inherited from Operation.)
Public propertyResultKindThe kind of result that is expected by this service operation.
Public propertyResultTypeType of results returned by this service operation.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetReadOnly Set this service operation to readonly. (Inherited from Operation.)
Public methodToString (Inherited from Object.)

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