# Workflows v1beta API - Class Workflows (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.V1Beta/latest/Google.Cloud.Workflows.V1Beta.Workflows)
- [2.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/2.0.0-beta05/Google.Cloud.Workflows.V1Beta.Workflows)
- [1.0.0-beta03](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/1.0.0-beta03/Google.Cloud.Workflows.V1Beta.Workflows)

    public static class Workflows

Reference documentation and code samples for the Workflows v1beta API class Workflows.

Workflows is used to deploy and execute workflow programs.
Workflows makes sure the program executes reliably, despite hardware and
networking interruptions.

## Inheritance

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

## 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.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/latest/Google.Cloud.Workflows.V1Beta)

## Assembly

Google.Cloud.Workflows.V1Beta.dll

## Methods

### BindService(WorkflowsBase)

    public static ServerServiceDefinition BindService(Workflows.WorkflowsBase serviceImpl)

Creates service definition that can be registered with a server

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `serviceImpl` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/latest/Google.Cloud.Workflows.V1Beta.Workflowshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/latest/Google.Cloud.Workflows.V1Beta.Workflows.WorkflowsBase` An object implementing the server-side handling logic. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerServiceDefinition.html` |   |

### BindService(ServiceBinderBase, WorkflowsBase)

    public static void BindService(ServiceBinderBase serviceBinder, Workflows.WorkflowsBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `serviceBinder` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServiceBinderBase.html` Service methods will be bound by calling `AddMethod` on this object. |
| `serviceImpl` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/latest/Google.Cloud.Workflows.V1Beta.Workflowshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workflows.V1Beta/latest/Google.Cloud.Workflows.V1Beta.Workflows.WorkflowsBase` An object implementing the server-side handling logic. |