Skip to main content

Definition

Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Operation

Syntax

Microsoft.Restier.Core.Operation.IOperationExecutor

Summary

Represents a service that executes an operation.

Methods

ExecuteOperationAsync Abstract

Asynchronously executes an operation.

Syntax

System.Threading.Tasks.Task<System.Linq.IQueryable> ExecuteOperationAsync(Microsoft.Restier.Core.Operation.OperationContext context, System.Threading.CancellationToken cancellationToken)

Parameters

NameTypeDescription
contextMicrosoft.Restier.Core.Operation.OperationContextThe operation context.
cancellationTokenSystem.Threading.CancellationTokenA cancellation token.

Returns

Type: System.Threading.Tasks.Task<System.Linq.IQueryable> A task that represents the asynchronous operation whose result is a operation result.