> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# IOperationExecutor

> Represents a service that executes an operation.

## Definition

**Assembly:** Microsoft.Restier.Core.dll

**Namespace:** Microsoft.Restier.Core.Operation

## Syntax

```csharp theme={"dark"}
Microsoft.Restier.Core.Operation.IOperationExecutor
```

## Summary

Represents a service that executes an operation.

## Methods

### &#x20;ExecuteOperationAsync Abstract

Asynchronously executes an operation.

#### Syntax

```csharp theme={"dark"}
System.Threading.Tasks.Task<System.Linq.IQueryable> ExecuteOperationAsync(Microsoft.Restier.Core.Operation.OperationContext context, System.Threading.CancellationToken cancellationToken)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `context` | `Microsoft.Restier.Core.Operation.OperationContext` | The operation context. |
| `cancellationToken` | `System.Threading.CancellationToken` | A cancellation token. |

#### Returns

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.