# Workflow Executions v1beta API - Class Executions.ExecutionsBase (2.0.0-beta06)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-beta06 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1Beta/latest/Google.Cloud.Workflows.Executions.V1Beta.Executions.ExecutionsBase)
- [2.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1Beta/2.0.0-beta05/Google.Cloud.Workflows.Executions.V1Beta.Executions.ExecutionsBase)
- [1.0.0-beta03](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1Beta/1.0.0-beta03/Google.Cloud.Workflows.Executions.V1Beta.Executions.ExecutionsBase)

    [BindServiceMethod(typeof(Executions), "BindService")]
    public abstract class Executions.ExecutionsBase

Reference documentation and code samples for the Workflow Executions v1beta API class Executions.ExecutionsBase.

Base class for server-side implementations of Executions

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Executions.ExecutionsBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Workflows.Executions.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1Beta/latest/Google.Cloud.Workflows.Executions.V1Beta)

## Assembly

Google.Cloud.Workflows.Executions.V1Beta.dll

## Methods

### CancelExecution(CancelExecutionRequest, ServerCallContext)

    public virtual Task<Execution> CancelExecution(CancelExecutionRequest request, ServerCallContext context)

Cancels an execution of the given name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1Beta/latest/Google.Cloud.Workflows.Executions.V1Beta.CancelExecutionRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1Beta/latest/Google.Cloud.Workflows.Executions.V1Beta.Execution` | The response to send back to the client (wrapped by a task). |

### CreateExecution(CreateExecutionRequest, ServerCallContext)

    public virtual Task<Execution> CreateExecution(CreateExecutionRequest request, ServerCallContext context)

Creates a new execution using the latest revision of the given workflow.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1Beta/latest/Google.Cloud.Workflows.Executions.V1Beta.CreateExecutionRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1Beta/latest/Google.Cloud.Workflows.Executions.V1Beta.Execution` | The response to send back to the client (wrapped by a task). |

### GetExecution(GetExecutionRequest, ServerCallContext)

    public virtual Task<Execution> GetExecution(GetExecutionRequest request, ServerCallContext context)

Returns an execution of the given name.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1Beta/latest/Google.Cloud.Workflows.Executions.V1Beta.GetExecutionRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1Beta/latest/Google.Cloud.Workflows.Executions.V1Beta.Execution` | The response to send back to the client (wrapped by a task). |

### ListExecutions(ListExecutionsRequest, ServerCallContext)

    public virtual Task<ListExecutionsResponse> ListExecutions(ListExecutionsRequest request, ServerCallContext context)

Returns a list of executions which belong to the workflow with
the given name. The method returns executions of all workflow
revisions. Returned executions are ordered by their start time (newest
first).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1Beta/latest/Google.Cloud.Workflows.Executions.V1Beta.ListExecutionsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.Executions.V1Beta/latest/Google.Cloud.Workflows.Executions.V1Beta.ListExecutionsResponse` | The response to send back to the client (wrapped by a task). |