ServiceOperation Class

Represents a custom service operation.

Inheritance Hierarchy

System.Object
  System.Data.Services.Providers.Operation
    System.Data.Services.Providers.ServiceOperation

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

Syntax

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

The ServiceOperation type exposes the following members.

Constructors

  Name Description
Public method ServiceOperation Creates a new instance of the service operation.

Top

Properties

  Name Description
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 Collection of in-order parameters for the service operation.
Public property ResourceSet Entity set from which entities are read (possibly null). (Inherited from Operation.)
Public property ResultKind The kind of result that is expected by this service operation.
Public property ResultType Type of results returned by this service operation.

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