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

 

Creates a new instance of the service operation.

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

public ServiceOperation(
	string name,
	ServiceOperationResultKind resultKind,
	ResourceType resultType,
	ResourceSet resultSet,
	string method,
	IEnumerable<ServiceOperationParameter> parameters
)

Parameters

name
Type: System.String

Name of the service operation.

resultKind
Type: System.Data.Services.Providers.ServiceOperationResultKind

ServiceOperationResultKind that is the kind of result expected from this operation.

resultType
Type: System.Data.Services.Providers.ResourceType

ResourceType that is the result of the operation.

resultSet
Type: System.Data.Services.Providers.ResourceSet

ResourceSet that is the result of the operation.

method
Type: System.String

Protocol method to which the service operation responds.

parameters
Type: System.Collections.Generic.IEnumerable<ServiceOperationParameter>

Ordered collection of ServiceOperationParameter objects that are parameters for the operation.

.NET Framework
Available since 3.5
Return to top
Show: