# DeploymentStateSection Constructors

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [DeploymentStateSection](/reference/api/csharp/aspire.hosting/deploymentstatesection.md)
- Kind: `Constructors`
- Members: `1`

Represents a section of deployment state with version tracking for concurrency control.

## DeploymentStateSection(string, JsonObject?, long)

- Name: `Constructor(string, JsonObject?, long)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Pipelines/DeploymentStateSection.cs#L19-L47)

Represents a section of deployment state with version tracking for concurrency control.

```csharp
public sealed class DeploymentStateSection
{
    public DeploymentStateSection(
        string sectionName,
        JsonObject? data,
        long version)
    {
        // ...
    }
}
```

## Parameters

- `sectionName` (`string`)
  The name of the section.
- `data` (`JsonObject?`)
  The JSON data for this section.
- `version` (`long`)
  The current version of this section.

## Remarks

Initializes a new instance of the [DeploymentStateSection](/reference/api/csharp/aspire.hosting/deploymentstatesection.md) class.
