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

# ISubmitExecutor

> Represents a service that executes a submission.

## Definition

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

**Namespace:** Microsoft.Restier.Core.Submit

## Syntax

```csharp theme={"dark"}
Microsoft.Restier.Core.Submit.ISubmitExecutor
```

## Summary

Represents a service that executes a submission.

## Methods

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ExecuteSubmitAsync <Badge color="orange">Abstract</Badge>

Asynchronously executes a submission and produces a submit result.

#### Syntax

```csharp theme={"dark"}
System.Threading.Tasks.Task<Microsoft.Restier.Core.Submit.SubmitResult> ExecuteSubmitAsync(Microsoft.Restier.Core.Submit.SubmitContext context, System.Threading.CancellationToken cancellationToken)
```

#### Parameters

| Name                | Type                                          | Description           |
| ------------------- | --------------------------------------------- | --------------------- |
| `context`           | `Microsoft.Restier.Core.Submit.SubmitContext` | The submit context.   |
| `cancellationToken` | `System.Threading.CancellationToken`          | A cancellation token. |

#### Returns

Type: `System.Threading.Tasks.Task<Microsoft.Restier.Core.Submit.SubmitResult>`
A task that represents the asynchronous
operation whose result is a submit result.
