Operation Class

Use this class to represent a custom service operation.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public MustInherit Class Operation
'Usage
Dim instance As Operation
public abstract class Operation
public ref class Operation abstract
[<AbstractClassAttribute>]
type Operation =  class end
public abstract class Operation

The Operation type exposes the following members.

Properties

  Name Description
Public property CustomState PlaceHolder to hold custom state information about service operation.
Public property IsReadOnly Returns true, if this service operation has been set to read only. Otherwise returns false.
Public property Method Protocol (for example HTTP) method the service operation responds to.
Public property MimeType MIME type specified on primitive results, possibly null.
Public property Name Name of the service operation.
Public property ResourceSet Entity set from which entities are read (possibly null).

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.
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