Share via


DeploymentStateSection(String, JsonObject, Int64) Constructor

Definition

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

public DeploymentStateSection(string sectionName, System.Text.Json.Nodes.JsonObject? data, long version);
new Aspire.Hosting.Pipelines.DeploymentStateSection : string * System.Text.Json.Nodes.JsonObject * int64 -> Aspire.Hosting.Pipelines.DeploymentStateSection
Public Sub New (sectionName As String, data As JsonObject, version As Long)

Parameters

sectionName
String

The name of the section.

data
JsonObject

The JSON data for this section.

version
Int64

The current version of this section.

Remarks

Initializes a new instance of the DeploymentStateSection class.

Applies to