Bewerken

Share via


ServiceOperation Class

Definition

Represents a custom service operation.

public ref class ServiceOperation
public class ServiceOperation
type ServiceOperation = class
Public Class ServiceOperation
Inheritance
ServiceOperation

Constructors

ServiceOperation(String, ServiceOperationResultKind, ResourceType, ResourceSet, String, IEnumerable<ServiceOperationParameter>)

Creates a new instance of the service operation.

Properties

CustomState

Gets or sets custom state information about service operation.

IsReadOnly

Indicates whether the service operation is read-only.

Method

Gets the method of the HTTP protocol to which the service operation responds.

MimeType

MIME-type specified on primitive results, possibly null.

Name

Name of service operation.

Parameters

Collection of in-order parameters for the service operation.

ResourceSet

Gets the entity set from which entities are read.

ResultKind

The kind of result that is expected by this service operation.

ResultType

Type of results returned by this service operation.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetReadOnly()

Sets whether the service operation is read-only.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to